Daylight savings time / 6.1 and 4.11

Matthew Seaman m.seaman at infracaninophile.co.uk
Sat Jan 20 15:36:48 UTC 2007


Javier Henderson wrote:
>> Your /etc/localtime is probably a copy of the old zoneinfo data, left
>> over from a previous incarnation.
> 
> My system at home is running 6.2-RELEASE:
> 
>> zdump -v /etc/localtime | more
> 
> (...)
> 
> /etc/localtime  Sun Mar 31 06:59:59 1918 UTC = Sun Mar 31 01:59:59 1918
> EST isdst=0 gmtoff=-18000
> /etc/localtime  Sun Mar 31 07:00:00 1918 UTC = Sun Mar 31 03:00:00 1918
> EDT isdst=1 gmtoff=-14400
> /etc/localtime  Sun Oct 27 05:59:59 1918 UTC = Sun Oct 27 01:59:59 1918
> EDT isdst=1 gmtoff=-14400
> /etc/localtime  Sun Oct 27 06:00:00 1918 UTC = Sun Oct 27 01:00:00 1918
> EST isdst=0 gmtoff=-18000
> 
> Same if I look at /usr/share/zoneinfo/EST5EDT.
> 
> I looked in the files for the zoneinfo port, same deal.
> 
> What am I missing?

Errr --- why are you looking at when daylight savings changes happened
in 1918? Try something like this:

happy-idiot-talk:~:% zdump -v /usr/share/zoneinfo/EST5EDT | grep '200[67]'
/usr/share/zoneinfo/EST5EDT  Sun Apr  2 06:59:59 2006 UTC = Sun Apr  2 01:59:59 2006 EST isdst=0 gmtoff=-18000
/usr/share/zoneinfo/EST5EDT  Sun Apr  2 07:00:00 2006 UTC = Sun Apr  2 03:00:00 2006 EDT isdst=1 gmtoff=-14400
/usr/share/zoneinfo/EST5EDT  Sun Oct 29 05:59:59 2006 UTC = Sun Oct 29 01:59:59 2006 EDT isdst=1 gmtoff=-14400
/usr/share/zoneinfo/EST5EDT  Sun Oct 29 06:00:00 2006 UTC = Sun Oct 29 01:00:00 2006 EST isdst=0 gmtoff=-18000
/usr/share/zoneinfo/EST5EDT  Sun Mar 11 06:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 EST isdst=0 gmtoff=-18000
/usr/share/zoneinfo/EST5EDT  Sun Mar 11 07:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 EDT isdst=1 gmtoff=-14400
/usr/share/zoneinfo/EST5EDT  Sun Nov  4 05:59:59 2007 UTC = Sun Nov  4 01:59:59 2007 EDT isdst=1 gmtoff=-14400
/usr/share/zoneinfo/EST5EDT  Sun Nov  4 06:00:00 2007 UTC = Sun Nov  4 01:00:00 2007 EST isdst=0 gmtoff=-18000


	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       7 Priory Courtyard
                                                      Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070120/a7796164/signature.pgp


More information about the freebsd-questions mailing list