* Updated maintenance/transstat.php so it can show duplicate messages
* Improvements to update scripts; print out the version, check for superuser credentials
before attempting a connection, and produce a friendlier error if the connection fails
-* (bug 5005): Fix XHTML <gallery> output.
+* (bug 5005) Fix XHTML <gallery> output.
* (bug 5315) "Expires: -1" HTTP header made strictly valid (using 1970 date).
-* (bug 4825): note in DefaultSettings.php about 'profiling' table creation
+* (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:.
+* (bug 5679) time units are now using local numerals
* (bug 5751) Updates to Portuguese localisation files
* (bug 5741) Introduce {{NUMBEROFUSERS}} magic word
* (bug 93) <nowiki> tags and tildes in templates
? ':'
: $this->timeSeparator( $format );
- $t = substr( $ts, 8, 2 ) . $sep . substr( $ts, 10, 2 );
+ $hh = $this->formatNum( substr( $ts, 8, 2 ), true );
+ $mm = $this->formatNum( substr( $ts, 10, 2 ), true );
+ $ss = $this->formatNum( substr( $ts, 12, 2 ), true );
+
+ $t = $hh . $sep . $mm;
if ( $datePreference == MW_DATE_ISO ) {
- $t .= $sep . substr( $ts, 12, 2 );
+ $t .= $sep . $ss;
}
return $t;
}
);
}
- function timeanddate( $ts, $adj = false ) {
- return $this->formatNum( Language::timeanddate( $ts, $adj ) );
- }
-
}
?>
# For right-to-left language support
function isRTL() { return true; }
- function timeanddate( $ts, $adj = false ) {
- return $this->formatNum( Language::timeanddate( $ts, $adj ) );
- }
}
?>
return parent::getMessage($key);
}
- function timeanddate( $ts, $adj = false ) {
- return $this->formatNum( Language::timeanddate( $ts, $adj ) );
- }
-
}
?>