Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Impact of U.S. Daylight Savings Time changes in 2007 on Perl distribution/codeby Corion (Patriarch) |
on Mar 06, 2007 at 14:15 UTC ( [id://603420]=note: print w/replies, xml ) | Need Help?? |
Jan Dubois posted the results of his dive into Win32 localtime behaviour on p5p: What I learned about Windows and Daylight Saving Time today Basically, if $ENV{TZ} is set, MSVCRT.dll does the calculations itself and the latest version of MSVCRT as of today hasn't been updated to account for the new USA DST rules. There seems to be a hotfix for that. If $ENV{TZ} is not set, the current rules will apply but also be applied to the past. If $ENV{TZ} is not set, and you're running Vista/LongHorn, the current rules will apply and not be applied to the past, as Vista and upwards support a database of historical changes.
In Section
Seekers of Perl Wisdom
|
|