(bug 33454) Add timezone support to Language::sprintfDate
authorBrad Jorsch <bjorsch@wikimedia.org>
Fri, 22 Mar 2013 16:41:03 +0000 (12:41 -0400)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 9 Apr 2013 22:49:04 +0000 (22:49 +0000)
commite9e1b0a77731db65257bb15f3195a2be30deaed5
tree945354b34f330bb02de91f911cf9348229c480ee
parent280ceeded84a70fc8a984c17fe87ea193fb00e81
(bug 33454) Add timezone support to Language::sprintfDate

Add an optional timezone parameter to Language::sprintfDate, add format
characters eIOPTZ, and correct crU.

While we're at it, remove backwards-compatability code for 'N' and then
merge the existing switch cases for cr and wNzWtLoU that are basically
identical, since all those cases need to be changed anyway.

Bug: 33454
Change-Id: Iea1f78428bc0d32d6395818311dbe4b94d776c42
languages/Language.php
tests/phpunit/languages/LanguageTest.php