br-g / openf1

OpenF1 API - Real-time and historical Formula 1 data
Other
398 stars 22 forks source link

Wrong date ISO format #32

Closed VonSerpe closed 7 months ago

VonSerpe commented 8 months ago

Hi all, all API responses have the wrong date format which does not comply with the ISO 8601 standard.

Now the dates are all without UTC information. If no UTC relation information is given with a time representation, the time is assumed to be in local time. Since dates are in UTC format, a Z should be added at the end of the time.

2024-02-29T11:30:00 would be 2024-02-29T11:30:00Z

Thanks

br-g commented 7 months ago

Hello,

Thank you for reporting this! Dates now all have timezone information.