summaryrefslogtreecommitdiff
path: root/ext/Time-Piece
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2009-03-30 07:27:34 -0500
committerCraig A. Berry <craigberry@mac.com>2009-03-30 07:27:34 -0500
commitb1c3c09642d09c7f9654b8b6e0f19a60666079e9 (patch)
treecda2c481d7076bff3519fc07d9f03b0325dfb337 /ext/Time-Piece
parent3acf89b2d2d81700d338ab245dc8f4eb79dcf1fc (diff)
downloadperl-b1c3c09642d09c7f9654b8b6e0f19a60666079e9.tar.gz
TZ setting must contain an offset.
Per the standard at: http://www.opengroup.org/onlinepubs/7990989775/xbd/envvar.html
Diffstat (limited to 'ext/Time-Piece')
-rw-r--r--ext/Time-Piece/t/02core.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/Time-Piece/t/02core.t b/ext/Time-Piece/t/02core.t
index 7c1495d823..7ca22a9bb1 100644
--- a/ext/Time-Piece/t/02core.t
+++ b/ext/Time-Piece/t/02core.t
@@ -48,7 +48,7 @@ cmp_ok($t->daylight_savings, '==', 0);
# ->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');