Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Nov 2007 19:24:38 -0700
From:      perryh@pluto.rain.com
To:        bakul@bitblocks.com
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: timezone printing in date messed up?
Message-ID:  <472d2d66.1gVdjI1MXgbri755%perryh@pluto.rain.com>
In-Reply-To: <20071104004116.45DD35B29@mail.bitblocks.com>
References:  <20071104004116.45DD35B29@mail.bitblocks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> $ sh <<'EOF'
> for a in 0 1 2 3 4 5 6 7 8 9 10 11 12 
> do
>   date -j -f %s `expr 1194163200 + 600 \* $a`
> done
> EOF
<snip buggy output>

> OS X Leopard has the same bug ...

How did you test it in Leopard?  I tried it in Tiger, intending to
contribute another data point, and I got:

  date: illegal option -- j
  usage: date [-nu] [-r seconds] [+format]
         date [[[[[cc]yy]mm]dd]hh]mm[.ss]

The Tiger manpage gives no obvious equivalent to FreeBSD's -j



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?472d2d66.1gVdjI1MXgbri755%perryh>