summaryrefslogtreecommitdiff
path: root/ext/Time/Piece/Piece.t
diff options
context:
space:
mode:
Diffstat (limited to 'ext/Time/Piece/Piece.t')
-rw-r--r--ext/Time/Piece/Piece.t5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/Time/Piece/Piece.t b/ext/Time/Piece/Piece.t
index 8e8f601f76..f20069679e 100644
--- a/ext/Time/Piece/Piece.t
+++ b/ext/Time/Piece/Piece.t
@@ -82,13 +82,12 @@ print "ok 21\n";
# In GMT there should be no daylight savings ever.
-my $dst = 0;;
+my $dst = 0;
my $dst_mess = '';
if ($^O eq 'os2') {
# OS/2 EMX bug
- $dst = CORE::gmtime(0))[8];
+ $dst = (CORE::gmtime(0))[8];
$dst_mess = ' # skipped: gmtime(0) thinks DST gmtime 0 == -1';
-
}
print "not " unless $t->isdst == $dst;
print "ok 22$dst_mess\n";