r13908 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r13907‎ | r13908 | r13909 >
Date:20:36, 28 April 2006
Author:hashar
Status:old
Tags:
Comment:
Fix bug #5679: timestamps not rendering in bn:, hi: or fa: numerals
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/languages/LanguageBn.php (modified) (history)
  • /trunk/phase3/languages/LanguageFa.php (modified) (history)
  • /trunk/phase3/languages/LanguageHi.php (modified) (history)

Diff [purge]

Index: trunk/phase3/RELEASE-NOTES
@@ -133,6 +133,7 @@
134134 * (bug 5315) "Expires: -1" HTTP header made strictly valid (using 1970 date).
135135 * (bug 4825): note in DefaultSettings.php about 'profiling' table creation
136136 * Remove unneeded extra whitespace at top of Special:Categories
 137+* (bug 5679): format number on timeanddate() calls for fa: hi: bn:.
137138
138139 == Compatibility ==
139140
Index: trunk/phase3/languages/LanguageFa.php
@@ -113,5 +113,8 @@
114114 }
115115 }
116116
 117+ function timeanddate( $ts, $adj = false ) {
 118+ return $this->formatNum( Language::timeanddate( $ts, $adj ) );
 119+ }
117120 }
118121 ?>
Index: trunk/phase3/languages/LanguageBn.php
@@ -68,6 +68,10 @@
6969 return $number;
7070 }
7171 }
 72+
 73+ function timeanddate( $ts, $adj = false ) {
 74+ return $this->formatNum( Language::timeanddate( $ts, $adj ) );
 75+ }
7276 }
7377
7478 ?>
Index: trunk/phase3/languages/LanguageHi.php
@@ -65,6 +65,9 @@
6666 return $number;
6767 }
6868 }
 69+ function timeanddate( $ts, $adj = false ) {
 70+ return $this->formatNum( Language::timeanddate( $ts, $adj ) );
 71+ }
6972
7073 }
7174

Follow-up revisions

RevisionCommit summaryAuthorDate
r13945* (bug 5679) time units are now using local numeralsnikerabbit22:43, 29 April 2006

Status & tagging log