[tz] Are these valid timezone definitions?

Andreas Schwab schwab at linux-m68k.org
Wed Jun 6 20:49:15 UTC 2012


david singleton <dsingleton at mvista.com> writes:

> When I define a timezone with  export
> TZ="NZST-12:00:00NZDT-13:00:00,M10.1.0,M3.3.0"
> there is no change in time when daylight savings ends.

Works fine here:

$ TZ=NZST-12:00:00NZDT-13:00:00,M10.1.0,M3.3.0 date -d @1317477599
So 2. Okt 01:59:59 NZST 2011
$ TZ=NZST-12:00:00NZDT-13:00:00,M10.1.0,M3.3.0 date -d @1317477600 
So 2. Okt 03:00:00 NZDT 2011
$ TZ=NZST-12:00:00NZDT-13:00:00,M10.1.0,M3.3.0 date -d @1331989199
So 18. Mär 01:59:59 NZDT 2012
$ TZ=NZST-12:00:00NZDT-13:00:00,M10.1.0,M3.3.0 date -d @1331989200
So 18. Mär 01:00:00 NZST 2012

Andreas.

-- 
Andreas Schwab, schwab at linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the tz mailing list