From ccffcaddfd8672ff5d808fe90440299adb6da98c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Wed, 28 Dec 2005 22:44:32 +0000 Subject: [PATCH] Erps, fix timestamp formatting --- languages/LanguageFy.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/languages/LanguageFy.php b/languages/LanguageFy.php index 2cf2c3903d..f615df54d3 100644 --- a/languages/LanguageFy.php +++ b/languages/LanguageFy.php @@ -975,8 +975,8 @@ class LanguageFy extends LanguageUtf8 { $datePreference = $this->dateFormat( $format ); $month = $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ); - $day = $this->formatNum( 0 + substr( $ts, 6, 2 ) ); - $year = $this->formatNum( substr( $ts, 0, 4 ), true ); + $day = 0 + substr( $ts, 6, 2 ); + $year = substr( $ts, 0, 4 ); switch( $datePreference ) { case MW_DATE_DMY: return "$day $month $year"; @@ -1014,7 +1014,7 @@ class LanguageFy extends LanguageUtf8 { if ( $datePreference == MW_DATE_ISO ) { $t .= $sep . substr( $ts, 12, 2 ); } - return $this->formatNum( $t ); + return $t; } function getMessage( $key ) { -- 2.20.1