X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=languages%2Fclasses%2FLanguageWa.php;h=078b068242cdcf0bed43e552b44d5b869710150e;hb=748c5eae2fd5d897c94c48771161c259941a7488;hp=98d138dbf1a1131644c198b9e90fc9219092464c;hpb=91372c2225304291b7f77c20dedc2ffab000f508;p=lhc%2Fweb%2Fwiklou.git diff --git a/languages/classes/LanguageWa.php b/languages/classes/LanguageWa.php index 98d138dbf1..078b068242 100644 --- a/languages/classes/LanguageWa.php +++ b/languages/classes/LanguageWa.php @@ -42,7 +42,7 @@ class LanguageWa extends Language { * @param bool $tc * @return string */ - function date( $ts, $adj = false, $format = true, $tc = false ) { + public function date( $ts, $adj = false, $format = true, $tc = false ) { $ts = wfTimestamp( TS_MW, $ts ); if ( $adj ) { $ts = $this->userAdjust( $ts, $tc ); @@ -50,7 +50,6 @@ class LanguageWa extends Language { $datePreference = $this->dateFormat( $format ); # ISO (YYYY-mm-dd) format - # # we also output this format for YMD (eg: 2001 January 15) if ( $datePreference == 'ISO 8601' ) { $d = substr( $ts, 0, 4 ) . '-' . substr( $ts, 4, 2 ) . '-' . substr( $ts, 6, 2 ); @@ -64,7 +63,6 @@ class LanguageWa extends Language { } # Walloon format - # # we output this in all other cases $m = substr( $ts, 4, 2 ); $n = substr( $ts, 6, 2 ); @@ -91,7 +89,7 @@ class LanguageWa extends Language { * @param bool $tc * @return string */ - function timeanddate( $ts, $adj = false, $format = true, $tc = false ) { + public function timeanddate( $ts, $adj = false, $format = true, $tc = false ) { if ( $adj ) { $ts = $this->userAdjust( $ts, $tc ); }