Subject: | DateTime::TimeZone::Local on cygwin |
Date: | Fri, 5 Nov 2010 13:46:01 -0700 (PDT) |
To: | bug-DateTime-TimeZone [...] rt.cpan.org |
From: | Oren Cheyette <ocheyette [...] gmail.com> |
Attempting
$tz = DateTime::TimeZone->new(name = 'local')
fails on cygwin, unless I have set TZ in the environment to an offset (e.g.
"-0700"). (Oddly, setting TZ to an offset string in cygwin with setenv causes
the shell "date" function to switch to GMT. It likes "PDT" but not "-0700". But
that's a topic for another bug list.)
I'm using the latest CPAN release (1.23).
- Oren