Craig A. Berry [Mon, 30 Mar 2009 12:27:34 +0000 (07:27 -0500)]
Per the standard at:
http://www.opengroup.org/onlinepubs/
7990989775/xbd/envvar.html
# ->tzoffset?
{
- local $ENV{TZ} = "EST";
+ local $ENV{TZ} = "EST5";
Time::Piece::_tzset(); # register the environment change
my $lt = localtime;
cmp_ok(scalar($lt->tzoffset), 'eq', '-18000');