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

Re: DST switch in US now early



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/06/07 15:09, Michael Marsh wrote:
> On 3/6/07, Hugo Vanwoerkom <hvw59601@care2.com> wrote:
>> Given the early switch to DST in the US on March 11, if I have the
>> latest libc6 and libc6-dev in Sid (2.3.6.ds1-13), the time change will
>> be automatic?
> 
> Yup:
> 
> $ date -d"3:00am March 11, 2007"
> Sun Mar 11 03:00:00 EDT 2007
> 
> Interestingly, some versions of date (it might depend on the specific
> changes to the tzdata file) will give you an "invalid date" error for
> 2am on the 11th.  That's what I see on Sid, but RHEL3 will happily
> display 2am on the 11th as 3am.

But 2AM isn't 3AM.

$ date -d"1:59:59am March 11, 2007"
Sun Mar 11 01:59:59 CST 2007

$ date -d"2:00am March 11, 2007"
date: invalid date `2:00am March 11, 2007'

$ date -d"3:00am March 11, 2007"
Sun Mar 11 03:00:00 CDT 2007


> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFF7h+TS9HxQb37XmcRAsN0AKDrvsm8FbAUSlSZi0R4idXcAiTr+wCdFv9B
fgD4LYGnrFy065R0smn+zC8=
=jTCh
-----END PGP SIGNATURE-----



Reply to: