Martin Guy a écrit :
>>> $ TZ=Europe/London ./a,out # Europe/London is broken.
>>> Epoch in gmtime is Thu Jan 1 00:00:00 1970
>>> Epoch in localtime is Thu Jan 1 01:00:00 1970
>>> timezone is 0 minutes east of UTC
>>> DST wasn't in effect.
>
>> Between 1968 and 1971, the United Kingdom used
$ TZ=Europe/London ./a,out # Europe/London is broken.
Epoch in gmtime is Thu Jan 1 00:00:00 1970
Epoch in localtime is Thu Jan 1 01:00:00 1970
timezone is 0 minutes east of UTC
DST wasn't in effect.
Between 1968 and 1971, the United Kingdom used the GMT+1 time all year.
See http://en.wik
Package: tzdata
Version: 2006p-1
localtime() resolves time==0 as Jan 1 1970 01:00 instead of 00:00 in
the Europe/London timezone. This was in etch; it also does this in
Debian sarge and gentoo, so I guess it's an old upstream bug.
It may be a bug in localtime() but certainly depends on the named
3 matches
Mail list logo