Last modified: 2007-12-06 20:17:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 11657 - Localization of Thai year
Localization of Thai year
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-10-14 09:23 UTC by Paisa Seeluangsawat
Modified: 2007-12-06 20:17 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Paisa Seeluangsawat 2007-10-14 09:23:44 UTC
The function sprintfDate()  in  phase3/languages/Language.php doesn't allow the localization of Thai year.

Modern Thai calendar coincides with Gregorian calendar but displays year in Buddhist Era, which is 543 + Christian Era.  For example, the year 2000 A.D. is year 2543 in Thai.

For example, try this bash shell command,

   LC_TIME=th_TH  date +%Ey

More info,
Comment 1 Raimond Spekking 2007-12-06 20:17:05 UTC
Added with r28221.

New keyword 'xkY' for the Thai solar year. Can be used for {{#time:}} parserfunctions too.

Thai solar calendar added to Thai message file.

Note You need to log in before you can comment on or make changes to this bug.