From da8ef5fa1be5b363039bd04cfa7800b874719492 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Thu, 7 Apr 2005 19:29:38 +0000 Subject: [PATCH] * Changing the default of $format to false (was '0') --- languages/Language.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/languages/Language.php b/languages/Language.php index df25286005..35ca1fccb7 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -2105,7 +2105,7 @@ class Language { * validateTimeZone() in Special:Preferences * @return string */ - function date( $ts, $adj = false, $format = '0', $timecorrection = false ) { + function date( $ts, $adj = false, $format = false, $timecorrection = false ) { global $wgAmericanDates, $wgUser; if ( $adj ) { $ts = $this->userAdjust( $ts, $timecorrection ); } @@ -2138,7 +2138,7 @@ class Language { * validateTimeZone() in Special:Preferences * @return string */ - function time( $ts, $adj = false, $format = '0', $timecorrection = false ) { + function time( $ts, $adj = false, $format = false, $timecorrection = false ) { global $wgUser, $wgAmericanDates; if ( $adj ) { $ts = $this->userAdjust( $ts, $timecorrection ); } @@ -2166,7 +2166,7 @@ class Language { * validateTimeZone() in Special:Preferences * @return string */ - function timeanddate( $ts, $adj = false, $format = '0', $timecorrection = false) { + function timeanddate( $ts, $adj = false, $format = false, $timecorrection = false) { global $wgUser, $wgAmericanDates; $datePreference = $this->dateFormat($format); -- 2.20.1