Fix bug #5679: timestamps not rendering in bn:, hi: or fa: numerals
authorAntoine Musso <hashar@users.mediawiki.org>
Fri, 28 Apr 2006 20:36:10 +0000 (20:36 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Fri, 28 Apr 2006 20:36:10 +0000 (20:36 +0000)
RELEASE-NOTES
languages/LanguageBn.php
languages/LanguageFa.php
languages/LanguageHi.php

index abe675d..12c52d1 100644 (file)
@@ -133,6 +133,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 5315) "Expires: -1" HTTP header made strictly valid (using 1970 date).
 * (bug 4825): note in DefaultSettings.php about 'profiling' table creation
 * Remove unneeded extra whitespace at top of Special:Categories
+* (bug 5679): format number on timeanddate() calls for fa: hi: bn:.
 
 == Compatibility ==
 
index 5caa476..1e5b21f 100644 (file)
@@ -68,6 +68,10 @@ class LanguageBn extends LanguageUtf8 {
                        return $number;
                }
        }
+
+       function timeanddate( $ts, $adj = false ) {
+               return $this->formatNum( Language::timeanddate( $ts, $adj ) );
+       }
 }
 
 ?>
index 739be1c..f5cb7a4 100644 (file)
@@ -113,5 +113,8 @@ class LanguageFa extends LanguageUtf8 {
                }
        }
 
+       function timeanddate( $ts, $adj = false ) {
+               return $this->formatNum( Language::timeanddate( $ts, $adj ) );
+       }
 }
 ?>
index 034f313..5a1a4f6 100644 (file)
@@ -65,6 +65,9 @@ class LanguageHi extends LanguageUtf8 {
                        return $number;
                }
        }
+       function timeanddate( $ts, $adj = false ) {
+               return $this->formatNum( Language::timeanddate( $ts, $adj ) );
+       }
 
 }