Page MenuHomePhabricator

Asia/Jakarta timezone abbreviation is wrong
Closed, ResolvedPublic

Description

When setting a wiki's timezone to Asia/Jakarta (UTC+7), signatures get marked with (WIT), which however is the abbrevation for Asia/Jayapura or UTC+9, according to http://en.wikipedia.org/wiki/Time_in_Indonesia#Current_usage and http://time.kim.lipi.go.id/.
It should be changed to WIB.


Version: 1.21.x
Severity: minor

Details

Reference
bz44758

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:40 AM
bzimport set Reference to bz44758.
bzimport added a subscriber: Unknown Object (MLST).

(In reply to comment #0)

When setting a wiki's timezone to Asia/Jakarta (UTC+7), signatures get marked
with (WIT), which however is the abbrevation for Asia/Jayapura or UTC+9,
according to http://en.wikipedia.org/wiki/Time_in_Indonesia#Current_usage and
http://time.kim.lipi.go.id/.
It should be changed to WIB.

Sounds more likely a problem with PHP...

So should a bug in whatever-bugtracker-PHP-uses be created?
(sorry, I'm quite a noob in such things)

delirium wrote:

This appears to be a language confusion and acronym clash more than a bug. The tz database, which nearly everyone (including PHP) uses currently uses English timezone names and acronyms. So in this case, WIT stands for Western Indonesian Time (UTC+7), not for Waktu Indonesia Timur (UTC+9). In the tz database, UTC+9 is rather Eastern Indonesian Time (EIT), and there is no timezone named WIB.

Here's a glibc discussion about it from 2005: http://www.sourceware.org/bugzilla/show_bug.cgi?id=791

Can't the timezone simply be localized?

delirium wrote:

The Unicode CLDR project appears to have localizations for timezones, among other things. And there's a MediaWiki extension for that: http://www.mediawiki.org/wiki/Extension:CLDR

I don't have enough knowledge of how MW handles localization to comment, though; hopefully someone who knows more will weigh in on the current status/roadmap.

You can create the message 'timezone-wit' to used localized timezone, but works only for new signature.

(In reply to comment #3)

This appears to be a language confusion and acronym clash more than a bug.
The
tz database, which nearly everyone (including PHP) uses currently uses
English
timezone names and acronyms. So in this case, WIT stands for Western
Indonesian
Time (UTC+7), not for Waktu Indonesia Timur (UTC+9). In the tz database,
UTC+9
is rather Eastern Indonesian Time (EIT), and there is no timezone named WIB.

Here's a glibc discussion about it from 2005:
http://www.sourceware.org/bugzilla/show_bug.cgi?id=791

Well, good news, everyone, the tz-code has been changed to clear the confusion between Indonesian and English abbreviation. Now it uses Indonesian abbreviation

http://mm.icann.org/pipermail/tz-announce/2013-September/000013.html

I've checked on min.wp by leaving a signature, and it's been changed accordingly (it used to be WIT -- English abbreviation, now WIB -- Indonesian abbreviation).

I'll close this bug as fixed.

Oops... I forgot I've changed [[min:MediaWiki:Timezone-wit]] as suggested in #7. Without that, it's still WIT. So, what now?

Reopened the bug.

Is this still a problem?

Is MediaWiki using tzdata or Unicode CLDR for this? either way, this an Upstream bug, even if we hacked a workaround into MediaWiki.

Nikerabbit claimed this task.

No response to the above question. Marking closed.