News for hackers. Stuff that matters.
Re:When To Chat: Reconcile Time Zone Differences by oefrha on Friday March 27, 2020 @05:53AM (#22701523)
I tried some major cities around the world and it’s hit or miss. E.g. Beijing, Shanghai, Seoul and Sidney are all missing.

Edit: Okay, the locations are fetched from Google Map’s auto complete service, with only the top five results, so when I enter say Beijing I get unhelpful results like some Beijing Pie House in Alhambra, CA. Probably want to limit to cities if possible, no one is entering local street/establishment names here.

Re:When To Chat: Reconcile Time Zone Differences by madeofpalk on Friday March 27, 2020 @08:56AM (#22702469)
> Sidney

If you're thinking of the city in Australia, it's Sydney. Probably explains why when you search for Sidney it comes up with small towns in USA.

Re:When To Chat: Reconcile Time Zone Differences by oefrha on Friday March 27, 2020 @10:04AM (#22702894)
I think I only made the typo when I typed the comment here but I can’t check now since the service has exceeded quota.
Re:When To Chat: Reconcile Time Zone Differences by nerdponx on Friday March 27, 2020 @08:42AM (#22702383)
Why would it use Google Maps instead of the usual time zone database cities?
Re:When To Chat: Reconcile Time Zone Differences by mrcu5 on Friday March 27, 2020 @10:20AM (#22703014)
That's the whole point of the site. If I'm trying to figure out what time it is for my co-worker in Canberra Australia, I don't want to have to Google what time zone they are in (Australian Eastern Daylight Time). Just put the city in and it does the math for you.
Re:When To Chat: Reconcile Time Zone Differences by gtyras2mrs on Friday March 27, 2020 @12:46PM (#22704463)
I mean, other sites[0] that I've used seem to have a list of major cities (not Google Maps autocomplete)

[0] https://www.worldtimebuddy.com/

Re:When To Chat: Reconcile Time Zone Differences by nerdponx on Saturday March 28, 2020 @06:16PM (#22714734)
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

Re:When To Chat: Reconcile Time Zone Differences by akuji1993 on Friday March 27, 2020 @06:44AM (#22701773)
Weird.. It even found my hometown, which is a random town of 15k people in Germany.
Re:When To Chat: Reconcile Time Zone Differences by oefrha on Friday March 27, 2020 @06:58AM (#22701842)
That’s because it’s much less likely to have restaurants named after a random town than Beijing or Seoul.
Re:When To Chat: Reconcile Time Zone Differences by forgingahead on Friday March 27, 2020 @08:46AM (#22702407)
Do you live in akuji1993kleinstadt?