Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#9793 closed defect (bug) (fixed)

Duplicates in the timezone drop down

Reported by: denis-de-bernardy's profile Denis-de-Bernardy Owned by:
Milestone: 2.8 Priority: high
Severity: minor Version: 2.8
Component: Date/Time Keywords: has-patch tested commit
Focuses: Cc:


GMT = GTM0 = GTM+0 = GTM-0 = UTC = UCT = Universal = Greenwich = Zulu

Might not GMT be enough? :D

Attachments (1)

9793.diff (627 bytes) - added by Denis-de-Bernardy 15 years ago.

Download all attachments as: .zip

Change History (17)

#1 @Denis-de-Bernardy
15 years ago

  • Component changed from General to Date/Time
  • Keywords needs-patch added
  • Owner anonymous deleted
  • Severity changed from normal to minor

#2 @Denis-de-Bernardy
15 years ago

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

#3 @Denis-de-Bernardy
15 years ago

was of course meant GMT = GMT0 = GMT+0 = GMT-0 = ...

#4 @Denis-de-Bernardy
15 years ago

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".

#5 @peaceablewhale
15 years ago

May UTC be used instead of GMT? UTC is a more official term.

#6 @Denis-de-Bernardy
15 years ago

actually, that's only true for the US. in the UK, they say UCT for the same thing...

#7 @peaceablewhale
15 years ago

UTC is the official term (, and Windows 7 is using it instead of GMT.

#8 @ryan
15 years ago

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.

#9 @ryan
15 years ago

  • Priority changed from normal to high

#10 follow-up: @hakre
15 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?

#11 in reply to: ↑ 10 @Denis-de-Bernardy
15 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.

#12 @Denis-de-Bernardy
15 years ago

  • Keywords has-patch tested commit added; needs-patch removed

#13 @ryan
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [11434]) Standardize on UTC. Props Denis-de-Bernardy. fixes #9793

#14 @hakre
15 years ago

  • Keywords developer-feedback added

Shoudn't 'UCT' in the array not being 'UTC'? Typo?

#15 @ryan
15 years ago

UCT is correct. We want to exclude it and not UTC.

#16 @hakre
15 years ago

  • Keywords developer-feedback removed
Note: See TracTickets for help on using tickets.