#9793 closed defect (bug) (fixed)
Duplicates in the timezone drop down
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | 2.8 |
| Component: | Date/Time | Version: | 2.8 |
| Severity: | minor | Keywords: | has-patch tested commit |
| Cc: |
Description
GMT = GTM0 = GTM+0 = GTM-0 = UTC = UCT = Universal = Greenwich = Zulu
Might not GMT be enough? :D
Attachments (1)
Change History (17)
- Component changed from General to Date/Time
- Keywords needs-patch added
- Owner anonymous deleted
- Severity changed from normal to minor
was of course meant GMT = GMT0 = GMT+0 = GMT-0 = ...
some testing could be useful in case they're not available in all platforms. maybe setting some kind of variable ($did_gmt) would be the better way to work around this, rather than trying to spot which one is "best".
comment:5
peaceablewhale — 4 years ago
May UTC be used instead of GMT? UTC is a more official term.
actually, that's only true for the US. in the UK, they say UCT for the same thing...
comment:7
peaceablewhale — 4 years ago
UTC is the official term (http://en.wikipedia.org/wiki/UTC#Abbreviation), and Windows 7 is using it instead of GMT.
As a crusty old telecom engineer who has implemented way too many ITU specs, I say let everyone use UTC. :-)
We already mention UTC in the timezone setup, let's stick with it. We can link to the wikipedia page from the UTC in the "UTC time is" text to introduce those who are unfamiliar.
comment:10
follow-up:
↓ 11
hakre — 4 years ago
+1 for GMT/UTC. GMT = UTC. the +/- thingy is for naming other timezones. +/-0 makes no sense then if you want to name GMT/UTC directly.
Personally I tend to say, GMT is more well known in the non-technical world, and UTC for the internet folks. Zulu for those who use it day by day while talking to each other: nautics, aviation and millitary.
Anyway, all three name the same, while GMT is then more British and UTC the international (pseudo) abbrevation. Zulu is more for speaking and less for writing/written language IMHO.
Which places are to patch?
comment:11
in reply to:
↑ 10
Denis-de-Bernardy — 4 years ago
Replying to hakre:
Which places are to patch?
It's a relatively straightforward one, in the wp_timezone_choice() function (wp-includes/functions.php)
Basically, if Continent == ETC, we'd want strip all dups for UTC.
Denis-de-Bernardy — 4 years ago
- Keywords has-patch tested commit added; needs-patch removed
comment:13
ryan — 4 years ago
- Resolution set to fixed
- Status changed from new to closed
comment:14
hakre — 4 years ago
- Keywords developer-feedback added
Shoudn't 'UCT' in the array not being 'UTC'? Typo?
comment:15
ryan — 4 years ago
UCT is correct. We want to exclude it and not UTC.
comment:16
hakre — 4 years ago
- Keywords developer-feedback removed

see also #9758 (found it while fixing that, and there's no point in patching before it's fixed)