Skip to content

Commit 9fe4d71

Browse files
author
Marcin Przepiorowski
committed
fix for timezone not supported by perl in timestamp function
1 parent d0b5f4b commit 9fe4d71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Toolkit_helpers.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ sub timestamp {
485485
}
486486

487487
my $tz = new Date::Manip::TZ;
488-
my $detz = $engine->getTimezone();
488+
my $detz = timezone_fix($engine->getTimezone());
489489
my $dt = ParseDate($timestamp);
490490
if ($dt ne '') {
491491
my ($err,$date,$offset,$isdst,$abbrev) = $tz->convert_to_gmt($dt, $detz);

0 commit comments

Comments
 (0)