Answer the question
In order to leave comments, you need to log in
What is missing?
Over the past month, I have needed to translate time zones more than once, and I was specifically upset by all the existing services. A hell of a pile of forms, the lack of geolocation and support for the Russian language, the inability to specify the name of the city instead of the name of the time zone, and so on. In general, I decided to write my own, with blackjack.
So, some features:
Answer the question
In order to leave comments, you need to log in
And why does Google not like www.google.com/search?q=time+New-York , it can do a lot of things there www.google.com/help/features.html .
Plus, they also have a jabber bot [email protected], which supports part of this functionality
1. Yes, it's worth it. Such good in bulk, of course, but you have the opportunity to do better than anything else.
2. First of all, there are not enough tests. I'll send something to you.
It is not convenient to enter numbers and colons from a laptop keyboard without a numpad or from a smartphone / tablet. Make several types of forms. For example, instead of entering the whole time, two short text fields separated by a colon. Select a country/city from the dropdown list.
You can display information about the entered cities, something like the weather. But so as not to interfere with the basic information.
I offer these options. Instead of the word "in":
- Write a hyphen. It would be possible and an arrow, but it will be inconvenient to type.
- Do not write anything at all.
- Write a comma :)
Then the problem with languages disappears.
With a comma, you can expand the functionality, and parse a string from several cities, so that you can immediately find out what time it is in several. I think it will be useful for video conferencing.
Maybe you should make a browser extension so that those who, like you, constantly watch different times, can do it right in the browser?
There is enough good, but you did it conveniently.
It would be possible to add the design language by accept-language, by IP you can get the country - respectively, the time recording format.
Understand the format without minutes: "21 CET in Moscow".
IMHO the definition of the user zone by IP is not very successful. I would take the current time from the user's computer, and calculate the zone based on it. (The error of the clock can be assumed within half an hour, i.e. we choose the deviation of the number of minutes from the expected number for real hours with the sign that is less in magnitude).
Ideally, of course, compare two results - by IP and by browser, and if you get different numbers, then ask the user.
At the same time, tell the user how to reconfigure the time in his operating system (how to rearrange the time zone at least. It often happens that people have the MSC time zone on their computer simply because it is set by default, and people don’t know how to change the time zone, change time ... the next time you sync, the time is reset, and people give up on it).
A good thing. Develop - I would use.
There is a suggestion about the output format: it would be nice to let the user set the locale. For example:
> 12am Arlington in Tver When it
's
12AM in Arlington (United States), it's 9AM in Tver' (Russian Federation)
Tver' is 9 hours ahead of Arlington
Yes, I entered 12am myself, but I always forget how much we have, and a colleague uses this format.
Think all the same when choosing a city, not only by name.
An example for reflection:
maps.yandex.ru
Russia, Moscow
Poland, East Lodz county, Novosolna, Moscow
Do it faster if the service grows - one of the search giants may be interested. This is convenient, the Google calculator will only gain in price from this.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question