Daylight saving time + arrivals feed

Hello.

I’m just doing a simple little request for the arrival times at a station, like so
https://api.tfl.gov.uk/StopPoint/940GZZLUACT/arrivals

but ever since the clocks went back on sunday, the timings have been an hour out.

I know it’s a pretty easy thing to fix at my end, but I was just wondering if this is how it normally works, or whether the times will be updated to take into account the hour

Thanks for your help

Welcome @cunir

I think you will find that there’s a “Z” at the end of the timestamp which indicates that it’s a UTC value.

See https://en.wikipedia.org/wiki/ISO_8601#Coordinated_Universal_Time_(UTC)

1 Like

oh right, cool. i’ll get changing that at my end
cheers for the reply

1 Like