Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -129,11 +129,11 @@ |
130 | 130 | * Updated maintenance/transstat.php so it can show duplicate messages |
131 | 131 | * Improvements to update scripts; print out the version, check for superuser credentials |
132 | 132 | before attempting a connection, and produce a friendlier error if the connection fails |
133 | | -* (bug 5005): Fix XHTML <gallery> output. |
| 133 | +* (bug 5005) Fix XHTML <gallery> output. |
134 | 134 | * (bug 5315) "Expires: -1" HTTP header made strictly valid (using 1970 date). |
135 | | -* (bug 4825): note in DefaultSettings.php about 'profiling' table creation |
| 135 | +* (bug 4825) note in DefaultSettings.php about 'profiling' table creation |
136 | 136 | * Remove unneeded extra whitespace at top of Special:Categories |
137 | | -* (bug 5679): format number on timeanddate() calls for fa: hi: bn:. |
| 137 | +* (bug 5679) time units are now using local numerals |
138 | 138 | * (bug 5751) Updates to Portuguese localisation files |
139 | 139 | * (bug 5741) Introduce {{NUMBEROFUSERS}} magic word |
140 | 140 | * (bug 93) <nowiki> tags and tildes in templates |
Index: trunk/phase3/languages/LanguageFa.php |
— | — | @@ -106,8 +106,5 @@ |
107 | 107 | # For right-to-left language support |
108 | 108 | function isRTL() { return true; } |
109 | 109 | |
110 | | - function timeanddate( $ts, $adj = false ) { |
111 | | - return $this->formatNum( Language::timeanddate( $ts, $adj ) ); |
112 | | - } |
113 | 110 | } |
114 | 111 | ?> |
Index: trunk/phase3/languages/LanguageBn.php |
— | — | @@ -62,10 +62,6 @@ |
63 | 63 | ); |
64 | 64 | } |
65 | 65 | |
66 | | - function timeanddate( $ts, $adj = false ) { |
67 | | - return $this->formatNum( Language::timeanddate( $ts, $adj ) ); |
68 | | - } |
69 | | - |
70 | 66 | } |
71 | 67 | |
72 | 68 | ?> |
Index: trunk/phase3/languages/Language.php |
— | — | @@ -642,10 +642,14 @@ |
643 | 643 | ? ':' |
644 | 644 | : $this->timeSeparator( $format ); |
645 | 645 | |
646 | | - $t = substr( $ts, 8, 2 ) . $sep . substr( $ts, 10, 2 ); |
| 646 | + $hh = $this->formatNum( substr( $ts, 8, 2 ), true ); |
| 647 | + $mm = $this->formatNum( substr( $ts, 10, 2 ), true ); |
| 648 | + $ss = $this->formatNum( substr( $ts, 12, 2 ), true ); |
647 | 649 | |
| 650 | + $t = $hh . $sep . $mm; |
| 651 | + |
648 | 652 | if ( $datePreference == MW_DATE_ISO ) { |
649 | | - $t .= $sep . substr( $ts, 12, 2 ); |
| 653 | + $t .= $sep . $ss; |
650 | 654 | } |
651 | 655 | return $t; |
652 | 656 | } |
Index: trunk/phase3/languages/LanguageHi.php |
— | — | @@ -59,10 +59,6 @@ |
60 | 60 | return parent::getMessage($key); |
61 | 61 | } |
62 | 62 | |
63 | | - function timeanddate( $ts, $adj = false ) { |
64 | | - return $this->formatNum( Language::timeanddate( $ts, $adj ) ); |
65 | | - } |
66 | | - |
67 | 63 | } |
68 | 64 | |
69 | 65 | ?> |