> just changing the TZ environment variable. If there is no TZ variable,
> the default is basically the contents of /etc/timezone

/etc/localtime

> Because NZ has recently (and with what could really be termed
> "insufficient notice"; and some may argue "insufficient reason" - a
> 42000 person petition doesn't really convince me)

I go with insufficient notice, interestingly a large number of other
countries seem to have made changes now as well. Insufficient reason is
arguable - it would be smart to change daylight savings at the same time as
most/many other countries, like the EU is now all the same. Pity NZ didn't
take those rules. What other countries are they now the same as?

> It sounds like a manual fix will be required, sadly. However you may
> enjoy editing the local rulebase and compiling it, rather than copying
> in data from another distro.

I would enjoy that, but neither I nor the person paying me for it make it high
priority, and as zdump -v NZ produces the same output I feel confident that
copying the zoneinfo file from somewhere is just fine. ;)

Btw here's another short test:

env TZ=NZ date -d "2008-03-28 14:00 utc" "+%a %Y-%m-%d %T %Z"

The correct time is 3:00, the wrong (old rules) time is 2:00.

Or we can play (copy and paste into shell as 1 line!):
sh -c 'export TZ=NZ; test `date -d "2008-03-28 14:00 utc" "+%H"` = 03 && echo 
Right || echo WRONG'

Volker

-- 
Volker Kuhlmann                 is list0570 with the domain in header
http://volker.dnsalias.net/     Please do not CC list postings to me.

Reply via email to