Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: Problem with timer over end of month / Stirb Langsam
_cooper_ wrote:
>
> Hi,
>
> I tried to record "Stirb langsam" on Pro 7 this eavening, but the recording
> was incomplete.
>
> It was programmed from March 31th, 22:09 to April 1st, 00:50, stored as "timer
> 10". However, without any logical reason the timer stopped at April 1st,
> 00:00:00.
> ...
There seems to be a bug in the mktime() function. Normally it works fine if
you give it a 'struct tm' that contains out of range data, and normalizes it.
However, if given, for instance, 'tm_mon = 3' (April) and 'tm_mday = 0' this
doesn't result in 'March 31', but rather 'March 30'.
Looks like I'll have to work around this bug in cTimer::IncDay()...
Klaus
--
_______________________________________________________________
Klaus Schmidinger Phone: +49-8635-6989-10
CadSoft Computer GmbH Fax: +49-8635-6989-40
Hofmark 2 Email: kls@cadsoft.de
D-84568 Pleiskirchen, Germany URL: www.cadsoft.de
_______________________________________________________________
Home |
Main Index |
Thread Index