E3V3A / iata-arrivals-cli

Get airport arrivals, departures, details and METAR weather info from CLI
GNU General Public License v3.0
20 stars 7 forks source link

iata-arrivals-cli Timezones #7

Open graememilne opened 10 months ago

graememilne commented 10 months ago

Just discovered your program the other day,which i think is fantastic. Wish I had known about this years ago.

The web page mentions this below

 --- IMPORTANT! -----------------------------------------------
   • All times shown are in the timezone of your computer!
   • Do not attempt to run these queries in rapid succession,
     as your IP might get blocked by the API providers.
 --------------------------------------------------------------

This works fine if looking for info in the country you are in, UK. But when looking for info from an airport in a different country, I noticed this.

In Sched, ETA it gives the local time in the country you are in UK, but Status gives the correct time in the country you are looking for info on airport in for example: Amsterdam, Schiphol, AMS.

I notice in the To do list from 2018:

Add "-t" CLI flag for time-zone (TZ) times used for API vs. local airport TZ.

For example I am in the UK, and I want to see info from ./arrivals.py -t AMS.

If so, what is the time line for implementing this important feature. Hope you can implement this sooner than later?

E3V3A commented 3 weeks ago

@graememilne Hi Milne, I'm looking to make a complete update and review. It's still a useful tool, but a lot have changed in the python environments in the last few years. Also need to check that the API's are working as expected. Unfortunately I have no ETA for this.