Airstamp bug in show episodes list

keigel2001 wrote 3 years ago:

Hey,

while inserting some series into my local cache I found a bugged one.

Look at the airstamps of http://api.tvmaze.com/shows/2173/episodes?specials=1

"airdate":"2013-05-24","airtime":"24:00","airstamp":"-001-11-30T00:00:00-05:00"

"airdate":"2014-02-08","airtime":"24:00","airstamp":"-001-11-30T00:00:00-05:00"

"airdate":"2014-06-15","airtime":"24:00","airstamp":"-001-11-30T00:00:00-05:00"

"airdate":"2015-05-29","airtime":"24:00","airstamp":"-001-11-30T00:00:00-05:00"

2nd example: http://api.tvmaze.com/shows/2484/episodes?specials=1

Pretty sure that's not a valid DATE_ATOM :)

Fido wrote 3 years ago:

It seems to be because of the airtime being 24:00 instead of 00:00. I changed the airtime to 00:00 on your second example and it seems to be working now. (I moved the episode a day forward as I assumed that was what the original contributor was going for by entering 24:00).


david wrote 3 years ago:

Wicked. I'll check this out soon.

.