Bug#574317: Ambiguous timezone in test

Damyan Ivanov dmn at debian.org
Mon Apr 19 20:11:11 UTC 2010


-=| Chris Butler, Sun, Mar 28, 2010 at 02:23:35PM +0100 |=-
> It looks like this is actually to do with the recent update to Date::Manip's
> timezone handling. Specifically, how it deals with ambiguous timezone
> abbreviations. 
> 
> The test in t/01conversions.t uses the abbreviation "EST". However according
> to [0], there are three different timezones all 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
> 
> It appears that the old version of Date::Manip used to pick the North
> American "EST", whereas the new one is choosing the Australian Eastern
> Summer Time. This gives us the 16 hour shift.
> 
> The following patch amends the test to use the timezone string "US/Eastern"
> instead, removing the ambiguity:

Wouldn't it be better if EST is restored to mean North America? 
I guess (being neither American nor Australian) that that is more 
commonly used?

My concern with the change is that it would change EST interpretation 
in many places without any warning.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20100419/158b0c44/attachment.pgp>


More information about the pkg-perl-maintainers mailing list