Date: Sat, 03 Nov 2007 17:41:16 -0700 From: Bakul Shah <bakul@bitblocks.com> To: freebsd-hackers@freebsd.org Subject: timezone printing in date messed up? Message-ID: <20071104004116.45DD35B29@mail.bitblocks.com>
next 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 Sun Nov 4 01:00:00 PDT 2007 Sun Nov 4 01:10:00 PDT 2007 Sun Nov 4 01:20:00 PDT 2007 Sun Nov 4 01:30:00 PST 2007 <--- Sun Nov 4 01:40:00 PST 2007 <--- Sun Nov 4 01:50:00 PST 2007 <--- Sun Nov 4 01:00:00 PDT 2007 <--- Sun Nov 4 01:10:00 PDT 2007 <--- Sun Nov 4 01:20:00 PDT 2007 <--- Sun Nov 4 01:30:00 PST 2007 Sun Nov 4 01:40:00 PST 2007 Sun Nov 4 01:50:00 PST 2007 Sun Nov 4 02:00:00 PST 2007 $ Look at the lines with <---! This is with the latest timezone files. OS X Leopard has the same bug. I assume this is a bug and not due to an act of congress that mandates a flip flop timezone?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071104004116.45DD35B29>