https://bugzilla.wikimedia.org/show_bug.cgi?id=38783
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #4 from [email protected] --- @DaSch: You write date("d.m.Y H:i",$rawdate); This is a german date format. The localized date format is available using $wgLang->date( ) and $wgLang->time( ) and others, where $wgLang is a global variable storing an instance of the Language class (can be found in /language/Language.php). Btw, I suggest not to do the formatting in the GitInfo class. This class should return a MediaWiki-timestamp obtained by date( 'YmdHis', $lastlinearray[4] ); In the class SpecialVersion, you can use $wgLang for formatting. (I'm not sure if the global variable is still to be used but in SpecialVersion lots of them are still around...) -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
