From: Ævar Arnfjörð Bjarmason Date: Sun, 8 May 2005 11:03:13 +0000 (+0000) Subject: * Use the user selected format by default X-Git-Tag: 1.5.0alpha2~264 X-Git-Url: http://git.cyclocoop.org/data/%24self?a=commitdiff_plain;h=8c5e5eaef376d11e9de223880310cc1bd008638a;p=lhc%2Fweb%2Fwiklou.git * Use the user selected format by default --- diff --git a/languages/Language.php b/languages/Language.php index 34a2f146f2..028b3e9699 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -2266,12 +2266,12 @@ class Language { * @param bool $adj whether to adjust the time output according to the * user configured offset ($timecorrection) * @param mixed $format what format to return, if it's false output the - * default one. + * default one (default true) * @param string $timecorrection the time offset as returned by * validateTimeZone() in Special:Preferences * @return string */ - function time( $ts, $adj = false, $format = false, $timecorrection = false ) { + function time( $ts, $adj = false, $format = true, $timecorrection = false ) { global $wgUser, $wgAmericanDates; if ( $adj ) { $ts = $this->userAdjust( $ts, $timecorrection ); }