apilayer / aviationstack

Free, Real-Time Flight Tracker & Status REST API
https://aviationstack.com
85 stars 8 forks source link

time RFC3339 (ISO8601) always returns+00:00 #1

Open emavarela opened 4 years ago

emavarela commented 4 years ago

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