From: Brion Vibber Date: Sat, 13 Nov 2004 23:31:57 +0000 (+0000) Subject: (bug 862) Localize Finnish date and time display X-Git-Tag: 1.5.0alpha1~1344 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=37851dfe8841e584f85d13af3775bf2fca74b4d1;p=lhc%2Fweb%2Fwiklou.git (bug 862) Localize Finnish date and time display --- diff --git a/languages/LanguageFi.php b/languages/LanguageFi.php index f2f56f6462..9f0d821223 100644 --- a/languages/LanguageFi.php +++ b/languages/LanguageFi.php @@ -879,14 +879,14 @@ class LanguageFi extends LanguageUtf8 { } # Inherit userAdjust() - + function date( $ts, $adj = false ) { if ( $adj ) { $ts = $this->userAdjust( $ts ); } - - $d = $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) . - " " . (0 + substr( $ts, 6, 2 )) . ", " . - substr( $ts, 0, 4 ); + + $d = (0 + substr( $ts, 6, 2 )) . ". " . + $this->getMonthName( substr( $ts, 4, 2 ) ) . "ta " . + substr( $ts, 0, 4 ); return $d; } @@ -900,7 +900,7 @@ class LanguageFi extends LanguageUtf8 { function timeanddate( $ts, $adj = false ) { - return $this->time( $ts, $adj ) . " " . $this->date( $ts, $adj ); + return $this->date( $ts, $adj ) . " kello " . $this->time( $ts, $adj ); } function getValidSpecialPages()