apilayer / aviationstack

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

Times might be in local time, not GMT #2

Open Pehon1 opened 4 years ago

Pehon1 commented 4 years ago

I did a test query on this flight.

https://api.aviationstack.com/v1/flights?access_key=YOURKEY&flight_date=2020-02-04&flight_number=428&dep_icao=WSSS&arr_icao=WMKP

this was returned.

{"pagination":{"limit":100,"offset":0,"count":1,"total":1},"data":[{"flight_date":"2020-02-04","flight_status":"landed","departure":{"airport":"Singapore Changi","timezone":"Asia\/Singapore","iata":"SIN","icao":"WSSS","terminal":"1","gate":"D35","delay":13,"scheduled":"2020-02-04T20:25:00+00:00","estimated":"2020-02-04T20:25:00+00:00","actual":"2020-02-04T20:38:00+00:00","estimated_runway":"2020-02-04T20:38:00+00:00","actual_runway":"2020-02-04T20:38:00+00:00"},"arrival":{"airport":"Penang International","timezone":"Asia\/Kuala_Lumpur","iata":"PEN","icao":"WMKP","terminal":"I","gate":null,"baggage":null,"delay":null,"scheduled":"2020-02-04T21:50:00+00:00","estimated":"2020-02-04T21:50:00+00:00","actual":"2020-02-04T21:33:00+00:00","estimated_runway":"2020-02-04T21:33:00+00:00","actual_runway":"2020-02-04T21:33:00+00:00"},"airline":{"name":"Scoot","iata":"TR","icao":"TGW"},"flight":{"number":"428","iata":"TR428","icao":"TGW428","codeshared":null},"aircraft":{"registration":"9V-TAU","iata":"A320","icao":"A320","icao24":"76D035"},"live":null}]}

The actual timings here (2020-02-04T20:38:00+00:00 and 2020-02-04T21:33:00+00:00 appears to be in local time (GMT+8), not +0.

Why am i so sure? I was one of the pilot operating this flight.