[no matches in 365 files]
On Sun Mar 27 18:35:55 EDT 2011, lyn...@orthanc.ca wrote:
> Even stranger, newfie time is not making sense.  The Newf's have
> been half an hour off the rest of the world for ages. Yet:
> 
> lyndon@frodo% cat Canada_Newfoundland | tzdump
>                          NST                           NDT

nope.  the timezone is correct.  i think the output of
tzdump is confusing.  for us eastern, here's an example

; for(i in 4 5)date `{echo '1081044000 + 3600*'$i|hoc}
Sun Apr  4 01:00:00 EST 2004
Sun Apr  4 03:00:00 EDT 2004

and for newfoundland

; ifs=() timezone=`{cat tz/Canada_Newfoundland}for(i in 3 4)date `{echo 
'1081044000 + 3600*'$i|hoc}
Sun Apr  4 01:30:00 NST 2004
Sun Apr  4 03:30:00 NDT 2004

the reason for the confusion, is that the localtime
applies the offset before applying the dstpairs.
(/sys/src/libc/port/ctime.c)  i belive i tripped on this
when i did the work for the us zones.

if there's a bug, it's in tzdump.

- erik

Reply via email to