Hi,
On handling vdr recordings on XXV, i have notice a minor bug on date dumping of vdr SVDRP list recordings (LSTR). Recordings taked at leap day this year (February 29th) are listed on 1st March.
#> ls leapdayrecording/2005-02-29.19:12.50.99.rec/
#> svdrpl.pl LSTR .... 250 293 01.03 19:12 leapdayrecording ....
Any hints, on which source file this are fixable ?
best regards, Andreas
Andreas Brachold wrote:
Hi,
On handling vdr recordings on XXV, i have notice a minor bug on date dumping of vdr SVDRP list recordings (LSTR). Recordings taked at leap day this year (February 29th) are listed on 1st March.
#> ls leapdayrecording/2005-02-29.19:12.50.99.rec/
#> svdrpl.pl LSTR .... 250 293 01.03 19:12 leapdayrecording ....
Any hints, on which source file this are fixable ?
See VDR/recordings.c, in function cRecording::cRecording(const char *FileName).
Klaus
Andreas Brachold wrote:
Hi,
On handling vdr recordings on XXV, i have notice a minor bug on date dumping of vdr SVDRP list recordings (LSTR). Recordings taked at leap day this year (February 29th) are listed on 1st March.
We had a leap day this year?
#> ls leapdayrecording/2005-02-29.19:12.50.99.rec/
#> svdrpl.pl LSTR .... 250 293 01.03 19:12 leapdayrecording ....
I think vdr is surprised because of the extra leap day.
Andreas.
Andreas Mueller wrote:
Andreas Brachold wrote:
Hi,
On handling vdr recordings on XXV, i have notice a minor bug on date dumping of vdr SVDRP list recordings (LSTR). Recordings taked at leap day this year (February 29th) are listed on 1st March.
We had a leap day this year?
Darn, why didn't I spot that? ;-)
Klaus
Am Montag, den 25.07.2005, 19:11 +0200 schrieb Andreas Mueller:
Andreas Brachold wrote:
On handling vdr recordings on XXV, i have notice a minor bug on date dumping of vdr SVDRP list recordings (LSTR). Recordings taked at leap day this year (February 29th) are listed on 1st March.
We had a leap day this year?
Damn, your has right, i make a mistake, this not to check, before i post my message.
Sorry for bother here, Andreas
On Monday 25 July 2005 19:11, Andreas Mueller wrote:
I think vdr is surprised because of the extra leap day.
From man ctime:
If structure members are outside their legal interval, they will be normalized (so that, e.g., 40 October is changed into 9 November).
SCNR :-)
Greetings, Sascha