From: Ævar Arnfjörð Bjarmason Date: Thu, 7 Apr 2005 19:29:38 +0000 (+0000) Subject: * Changing the default of $format to false (was '0') X-Git-Tag: 1.5.0alpha1~355 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=commitdiff_plain;h=da8ef5fa1be5b363039bd04cfa7800b874719492;p=lhc%2Fweb%2Fwiklou.git * Changing the default of $format to false (was '0') --- 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);