Subject: | Ambiguous timezone "EST" handled differently in v5 and v6 |
This is related to a bug reported in Debian against the
DateTime::Format::DateManip perl module: http://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=574317
The test suite for that module has started failing with Date::Manip v6,
because it uses the timezone "EST" in the test. The new timezone code in
version 6 treats this timezone differently from version 5. It comes down
to the fact that there's more than one timezone with the abbreviation
"EST":
EST Eastern Summer Time Australia UTC + 11 hours
EST Eastern Standard Time Australia UTC + 10 hours
EST Eastern Standard Time North America UTC - 5 hours
(from: http://www.timeanddate.com/library/abbreviations/timezones/)
However, from the wikipedia article on Australian Eastern Standard Time:
The proper names of Australia's time zones vary. In international
contexts they are often called Australian Western Standard Time (AWST),
Australian Central Standard Time (ACST), and Australian Eastern Standard
Time (AEST). In domestic contexts the leading "Australian" is often
dropped.
Version 5 used to pick the American EST, whereas version 6 picks the
Australian version. I think that this change of behaviour is a bug. It
certainly looks to me as if the American EST is more widely used than
the Australian.
Perhaps Date::Manip should have some way to assign priorities to these
ambiguous timezones? The default behaviour would then be to treat the
abbreviation EST as the American one, with some way to adjust the
priorities if necessary..