https://bugzilla.wikimedia.org/show_bug.cgi?id=33454

--- Comment #2 from Bawolff <[email protected]> 2012-01-02 08:21:31 UTC ---
hmm, whats a non-hacky way of fixing this. The obvious way is to pass some sort
of timezone offset as third parameter to sprintfDate, and then cut off the last
5 characters of gmdate( 'c', $unix ) and replace it with the time zone offset.
But that's icky... I guess should construct 'c' from its constituent parts...

If we do fix this we should consider adding a new formatting character to get
the timezone offset (+05:00) and timezone name (MST, ADT, etc). There's
probably certain circumstances where that would be useful


>Furthermore, {{#timel:o-W}} produces 2012-52 (wrong)

There was a bug in the code where 'o' had the timezone adjusted twice (So it
was 18 hours ahead, instead of 9 hours - thus putting it in 2012 when it still
should of been in 2011). None of the other formatting characters had this
issue. This should be fixed as of r107806 (of course we won't see the issue
again until next new years)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to