Page 1 of 1

XML file has 00 month timestamps (and 2006 dates)

Posted: Mon Nov 28, 2005 3:45 am
by bgowland
Hi Alan,

sub diagnosed this when I started getting EPG import errors in GB-PVR a week or so ago - I've only just got around to getting the time to pass this on...

Example from my data.xml...

<programme start="20051130234000 +0000" stop="20060001003500 +0000" channel="london.bbc1.bbc.co.uk">
<title lang="en">Alfie</title>

Note - the start date is 30th Nov. but end is 20060001 and 00 isn't a valid month.

There are a good number of entries like this in there but I can't see any pattern.

Cheers,
Brian

Posted: Mon Nov 28, 2005 11:45 am
by alanbirtles
fixed, <fix is now part of beta 6>

Posted: Mon Nov 28, 2005 12:15 pm
by alanbirtles
the same bug is in lib\timezones.lua
change

Code: Select all

while date.Month>=12 do
to

Code: Select all

while date.Month>12 do

Posted: Wed Nov 30, 2005 5:23 am
by bgowland
Cheers!

I'll give b6 a go tomorrow.