aviationstack icon indicating copy to clipboard operation
aviationstack copied to clipboard

time RFC3339 (ISO8601) always returns+00:00

Open emavarela opened this issue 5 years ago • 0 comments

Hello Aviation Stack team,

I am testing the API functionalities and I believe that the time RFC3339 (ISO8601) fields are always returning +00:00 even though the time shown is always local. For example, running this query http://api.aviationstack.com/v1/flights?access_key=c13216e8c004047e54ea58de41784ba7&flight_iata=LX3047

Returns: (...) {"airport":"Heathrow","timezone":"Europe/London","iata":"LHR","icao":"EGLL","terminal":"2","gate":"B48","baggage":"8","delay":null,"scheduled":"2020-06-30T07:40:00+00:00","estimated":"2020-06-30T07:40:00+00:00","actual":"2020-06-30T07:33:00+00:00","estimated_runway":"2020-06-30T07:27:00+00:00","actual_runway":"2020-06-30T07:27:00+00:00"} (...)

Nevertheless, this is local London time as shown in the image: image

These fields should return:

"2020-06-30T07:40:00+01:00"

or:

"2020-06-30T06:40:00+00:00"

Thank you Kind Regards, Emanuel Varela

emavarela avatar Jun 30 '20 18:06 emavarela