From 4cf00010a1c58728ec89fc052b315cbca3d30204 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Tue, 10 Jan 2006 19:06:31 +0000 Subject: [PATCH] Bug 4548: Update for Portuguese language (pt) --- RELEASE-NOTES | 1 + languages/LanguagePt.php | 14 +++++--------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 3dc6c274c2..3f9d2832a6 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -200,6 +200,7 @@ i18n / Languages: - Fixed formatnum on many languages * wgAmericanDates check produced incorrect results in languages that don't have a such distinction +* (bug 4548) Update for Portuguese language (pt): time format Parser: * (bug 2522) {{CURRENTDAY2}} now shows the current day number with two digits diff --git a/languages/LanguagePt.php b/languages/LanguagePt.php index e4e51ae155..f2c25d6908 100644 --- a/languages/LanguagePt.php +++ b/languages/LanguagePt.php @@ -71,11 +71,11 @@ require_once( 'LanguageUtf8.php' ); # Whether to use user or default setting in Language::date() /* private */ $wgDateFormatsPt = array( - 'Sem preferência', - '16:12, Janeiro 15, 2001', - '16:12, 15 Janeiro 2001', - '16:12, 2001 Janeiro 15', - 'ISO 8601' => '2001-01-15 16:12:34' + MW_DATE_DEFAULT => 'Sem preferência', + MW_DATE_DMY => '16:12, 15 Janeiro 2001', + MW_DATE_MDY => '16:12, Janeiro 15, 2001', + MW_DATE_YMD => '16:12, 2001 Janeiro 15', + MW_DATE_ISO => '2001-01-15 16:12:34' ); @@ -1832,10 +1832,6 @@ Por favor confirme que realmente deseja recriar este artigo.', class LanguagePt extends LanguageUtf8 { - function timeanddate( $ts, $adj = false ) { - return $this->time( $ts, $adj ) . ', ' . $this->date( $ts, $adj ); - } - /** * Portuguese numeric format is 123 456,78 */ -- 2.20.1