DST and ActivePerl

Posted by kevinw on 2007-02-01 14:53
OS: All / Any | Product: ActivePerl | tags: activeperl dst time

Will ActivePerl handle the new US DST changes?


ActivePerl relies on the underlying operating system for any date information. Providing the operating systems are patched to take into account the new DST laws there should be no issues.

Please note that you will want to ensure that you check any extra modules (beyond the core and enterprise edition modules that we provide) that are used are up to date.

For example:


This module needs updating, as it contains actual switchover times for various time zones. The module is updated frequently on CPAN to keep it in sync with the Olson timezone database and the latest version contains the updated rules.

akumarna | Fri, 2007-02-23 02:56

Does this mean ActiveState::DateTime module is DST compliant?

ActiveState Staff
Wed, 2007-02-28 16:45

According to one of the developers, the ActiveState::DateTime module is believed to be DST compliant:

It doesn't do any explicit DST calculations itself, so in that way
it is compliant. There may be problems in the code itself, e.g.
how it calculates the difference to GMT at the exact point when DST
is switched on or off in either of the zone, but this may be true
for much of date/time software out there. It is also possible that
the algorithm is perfectly fine too.