From 72cd496e9a583704fbc0718e9041ceb594e59cf9 Mon Sep 17 00:00:00 2001 From: rohieb Date: Sun, 13 Jul 2008 22:41:49 +0200 Subject: [PATCH] config times are required in GMT! --- update-iserv1-iserv2.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update-iserv1-iserv2.pl b/update-iserv1-iserv2.pl index fcb640e..76b05dc 100755 --- a/update-iserv1-iserv2.pl +++ b/update-iserv1-iserv2.pl @@ -48,7 +48,7 @@ while() { my $hr = $2; $hr = "0$hr" if length $hr < 2; push @tsbeginold, "$hr:$3:00"; - push @tsbegin, Time::Local::timelocal 0, $3, $hr, 1, 0, 1970; + push @tsbegin, Time::Local::timegm 0, $3, $hr, 1, 0, 1970; print " found beginning: $hr:$3\n"; } } @@ -64,7 +64,7 @@ while() { my $hr = $2; $hr = "0$hr" if length $hr < 2; push @tsendold, "$hr:$3:00"; - push @tsend, Time::Local::timelocal 0, $3, $hr, 1, 0, 1970; + push @tsend, Time::Local::timegm 0, $3, $hr, 1, 0, 1970; print " found ending: $hr:$3\n"; } } -- 2.20.1