Skip to content

Commit 61bab2c

Browse files
committed
tzset
1 parent 0cb1f8d commit 61bab2c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/POSIX/t/time.t

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ SKIP: { # GH #23878: test that dst spring forward works properly; use a
270270
skip "No mktime()", $skip_count if $Config{d_mktime} ne 'define';
271271
my $locale = "PST8PDT";
272272
$ENV{TZ} = $locale;
273+
POSIX::tzset();
273274
my $t = 1741510800; # an hour before time should have changed
274275

275276
my @spring = (

0 commit comments

Comments
 (0)