![]() |
|
Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: TimeZoning odditiesby robin (Chaplain) |
on Nov 01, 2005 at 23:26 UTC ( #504777=note: print w/replies, xml ) | Need Help?? |
Update: See my second reply below. Old Update: This is a bug in old versions of the POSIX module: see here, for example. I see this bug with Perl 5.8.0, but not with 5.8.6. (I don't know exactly which version fixed it.) Is upgrading an option for you? If not, you might have to use one of those other modules after all... PPS. Looks like downgrading would also fix it: it's working properly in 5.6.2. PPPS. But don't upgrade too much! I get the bug again with 5.8.7. This is very odd. Maybe it's affected by the build options or something, but I can't see an obvious pattern.
Also, do you get the correct offset if you add %z to your strftime format?
In Section
Seekers of Perl Wisdom
|
|