From: Niklas Laxström Date: Tue, 15 Nov 2005 22:59:22 +0000 (+0000) Subject: removed formatnum() call from time(), which was breaking time formats for example... X-Git-Tag: 1.6.0~1174 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=7a526a77843cfdfda5d93ab6e0b225efeaba9488;p=lhc%2Fweb%2Fwiklou.git removed formatnum() call from time(), which was breaking time formats for example in Swedish. If this breaks something else, it's up to those languages to subclass time function or formatnum is broken in the first place --- diff --git a/languages/Language.php b/languages/Language.php index f710c0e673..0003b795c0 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -2556,7 +2556,7 @@ class Language { if ( $datePreference == MW_DATE_ISO ) { $t .= $sep . substr( $ts, 12, 2 ); } - return $this->formatNum( $t ); + return $t; } /**