summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-07-02 14:10:01 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-07-02 14:10:01 +0000
commit0b8881c029d01bb2bb28dd49d49f6d610914e9d0 (patch)
tree78c4d4efc12faa61c79d8e374329a5b72b866eac
parent9219c8ded06600040fa6d862a60325b5afc73df4 (diff)
downloadperl-0b8881c029d01bb2bb28dd49d49f6d610914e9d0.tar.gz
Typo in #11083.
p4raw-id: //depot/perl@11091
-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";