Hacker News new | ask | show | jobs
by nerdponx 2270 days ago
I'm talking about the official "tz" database, which contains a large list of cities and geographic coordinates. So if you want to autodetect, you just need approximate lon/lat and then grab the closest tz city.

https://en.wikipedia.org/wiki/List_of_tz_database_time_zones