From: Craig A. Berry Date: Mon, 30 Mar 2009 12:27:34 +0000 (-0500) Subject: TZ setting must contain an offset. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b1c3c09642d09c7f9654b8b6e0f19a60666079e9;p=p5sagit%2Fp5-mst-13.2.git TZ setting must contain an offset. Per the standard at: http://www.opengroup.org/onlinepubs/7990989775/xbd/envvar.html --- diff --git a/ext/Time-Piece/t/02core.t b/ext/Time-Piece/t/02core.t index 7c1495d..7ca22a9 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');