Subject: | DateTime problem finding local timezone with strawberry perl 5.20.2? |
Date: | Thu, 2 Apr 2015 13:34:14 -0400 |
To: | bug-DateTime [...] rt.cpan.org |
From: | Derek Chadwell <derek.chadwell [...] gmail.com> |
Relevants:
Perl: Strawberry 5.20.2
DateTime: 1.18
OS: Win7sp2
Problem: Win7sp2 clients with strawberry perl 5.20.2 receiving error
"cannot determine local timezone" when invoking DateTime->now(time_zone =>
'local').
Comparisons: I am running strawberry perl 5.20.1 with the same DateTime
module version and the same OS and not seeing this problem. I've checked
the following places for inconsistencies in timezone reporting:
- Time zone listed in "Time Zone settings" in "Date and Time" dialog
- all timezone settings in registry at
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInfor
mation\
but I can't find any differences between the OSes except the version of
strawberry perl.
If it matters at all, the localtime function works fine.
Derek