backtrackbaba / covid-api

API's to interact with COVID19 dataset by John Hopkins University
https://covidapi.info/
MIT License
77 stars 19 forks source link

What timezone are the responses in? #17

Closed SammyIsra closed 4 years ago

SammyIsra commented 4 years ago

I am trying to display some info on a website received from this endpoint, something along the lines of "40,000 cases as of 04/11/2020" but that date can differ quite a bit depending on where in the world the browser is if I don't know the timezone of the response.

If no timezone information is provided, ISO 8601 formatted dates are to be represented as local time Info here

Thank you for the help!

backtrackbaba commented 4 years ago

Hi @SammyIsra,

The timestamps are in UTC(00:00) as the upstream data provider, JHU updates the data around 00:00 UTC every night.

Let me know if you have any suggestions or queries.

SammyIsra commented 4 years ago

Fantastic, thank you!