Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: vdradmin: timer list off by one hour?
Hi,
Am Son, 2003-12-07 um 13.38 schrieb Michael Reinelt:
> I've got a small problem with vdradmin-0.94, maybe since the end of
> daylight saving time: If I call the "list of timers" in vdradmin, I get
> all start and stop times off by one hour.
>
> any hints anyone?
>
You may try this simple patch,
it's should solv the daylight saving problem
on vdradmin-0.94.
Andreas
diff --speed-large-files --minimal -Nru vdradmind.pl.bak vdradmind.pl
--- vdradmind.pl.bak 2003-10-16 19:17:03.000000000 +0200
+++ vdradmind.pl 2003-10-31 18:27:54.000000000 +0100
@@ -1082,7 +1082,7 @@
my $mon = shift;
my $year = shift() - 1900;
- my $isdst = 1;
+ my $isdst = (localtime time)[8]>0;
my $time = mktime($sec, $min, $hour, $mday, $mon, $year, 0, 0, $isdst);
}
Home |
Main Index |
Thread Index