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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T13657, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11657 - Localization of Thai year
Localization of Thai year
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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,

   http://en.wikipedia.org/wiki/Thai_solar_calendar
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.


Navigation
Links