[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#409784: closed by Aurelien Jarno <aurelien@aurel32.net> (Re: Bug#409784: tzdata is wrong for epoch in Europe/London)



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 the GMT+1 time all year.
>> See http://en.wikipedia.org/wiki/British_Summer_Time for the details.
> 
> They must have been mad :) So should tm_isdst == 1 for that period
> instead of 0? (I'll take no reply as a no, and no offence taken)

Strictly speaking it is not a summer time, the time being the same all
the year. People called that summer time because the offset corresponds
 to the one of previous summer time periods. But this is wrong!

So I think the implementation chosen is tzdata is correct.


-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Reply to: