• Standardize the timezone list in the WordPress settings.

    A non standard list of time-zones can be problematic when you need to set a time-zone in an area you don’t live in. Trying to find that one city in that list is near impossible.

    Just to clarify what some people may find confusing: These timezones are not commonly used by people in real life. They come from the tz/olson database which includes many, many more timezones than people typically use in normal life. You aren’t going to find a timezone like PST or EST because those shorthands encompass several “actual” timezones which just happen to usually have the same UTC offset.

    — from the php manual

    From this we already know that the list isn’t a standard one. Just go into a windows os timezone settings and you’ll see something that is more standard and something that most people will understand, especially where there is a UTC offset next to the city.

    I know the time-zones in PHP work to calculate time. I don’t see any reason not to calculate the UTC offset for each zone and place it next to the corresponding city. If you wanted to take it a step further, you could create a standard list and then link those cities in the standard list with the PHP ones.

Viewing 1 replies (of 1 total)
  • it is impossible to predict the future the only certainty is UTC since the time zone has positive or negative offsets compared to UTC. Creating a list means creating a database when the project grows and there are changes to remember. WordPress also offers UTC or the offset directly, this is the right compromise, otherwise the story of IANA is recreated. Unfortunately, the database will not always be updated and therefore a time zone date is not portable if there has been a change backwards or forwards with respect to a date, e.g. Europe/Moscow has made several changes over the years. Asia/Tokyo is using the inverted sign from the IANA database but php does not guarantee its operation.

Viewing 1 replies (of 1 total)
  • The topic ‘Standardize the timezone list’ is closed to new replies.