From: Antoine Musso Date: Thu, 25 Aug 2005 17:32:32 +0000 (+0000) Subject: port stuff from child PT_br to Pt X-Git-Tag: 1.6.0~1804 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=efb93546f1e4879b87dbdf9160b9049b7a6c9dc1;p=lhc%2Fweb%2Fwiklou.git port stuff from child PT_br to Pt --- diff --git a/languages/LanguagePt.php b/languages/LanguagePt.php index e276049723..2c7e952eae 100644 --- a/languages/LanguagePt.php +++ b/languages/LanguagePt.php @@ -1992,6 +1992,17 @@ require_once( 'LanguageUtf8.php' ); 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 + */ + function formatNum( $number, $year = false ) { + return $year ? $number : strtr($this->commafy($number), '.,', ', ' ); + } + /** * Exports $wgBookstoreListPt * @return array