You are here

gatotv.com not working

5 posts / 0 new
Last post
ivan
Offline
Joined: 8 years
Last seen: 3 years
gatotv.com not working

I tested "gatotv.com" and throws an error related to dates. Something like "The string is not recognized as a valid DateTime. There is an unknown word starting from index 6. strarttime time scrubbed: 12:30 a.m., computer date time format: 25/7/2016 9:58:37 p.m., execution stopped"

ivan
Offline
Joined: 8 years
Last seen: 3 years

For example with:

    <channel update="i" site="gatotv.com" site_id="de_las_estrellas_hd_mexico" xmltv_id="Canal de las Estrellas HD - México (XEW)">Canal de las Estrellas HD - México (XEW)</channel>

ivan
Offline
Joined: 8 years
Last seen: 3 years

I'm using latest stable 55.27 version, could it be that?

ivan
Offline
Joined: 8 years
Last seen: 3 years

I found the reason. Dates are localized on the site, I entered the original URL and I see "12:00 a.m.". I used http://www.locabrowser.com/ and simulated a Canada entry and I see "12:00 AM".

The "a.m." and "p.m." without spaces were missing in the code. I attached the fix, by adding that cases it worked for me.

Attachments: 
ivan
Offline
Joined: 8 years
Last seen: 3 years

@Blackbear199 I already sent the fix for gatotv.com, could you test & update it?

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl