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 Michael,

> 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.
The vdr-distribution is still stuck on CEST.

diff says:

@@ -1082,7 +1083,7 @@
        my $mon  = shift;
        my $year = shift() - 1900;
 
-       my $isdst = 1; 
+       my $isdst = -1; 
        my $time = mktime($sec, $min, $hour, $mday, $mon, $year, 0, 0, $isdst);
 }

Set the variable $isdst to -1 in line 1082 and vdradmin will switch
from and to summertime automagically.

Regards,
 Roland

-- 
Black holes are where god divided by zero




-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index