From: Ævar Arnfjörð Bjarmason Date: Fri, 25 Mar 2005 18:42:36 +0000 (+0000) Subject: Fixing a small error of mine (the year didn't get displayed at all X-Git-Tag: 1.5.0alpha1~527 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/fiche.php?a=commitdiff_plain;h=b0177c431109b395592d4f6e6677b5b173f4ff58;p=lhc%2Fweb%2Fwiklou.git Fixing a small error of mine (the year didn't get displayed at all --- diff --git a/languages/LanguageIs.php b/languages/LanguageIs.php index 19f5003929..81d9c915a2 100644 --- a/languages/LanguageIs.php +++ b/languages/LanguageIs.php @@ -875,7 +875,9 @@ class LanguageIs extends LanguageUtf8 { function date( $ts, $adj = false ) { if ( $adj ) { $ts = $this->userAdjust( $ts ); } # Adjust based on the timezone setting. - $date = (0 + substr( $ts, 6, 2 )) . '. ' . $this->getMonthName( substr( $ts, 4, 2 ) ); + $date = (0 + substr( $ts, 6, 2 )) . '. ' . + $this->getMonthName( substr( $ts, 4, 2 ) ) . ' ' . + substr($ts, 0, 4); return $date; } }