Instead, find the bits that are passing raw database-format timestamps in there and make them normalize their data properly through wfTimestamp()
image
* (bug 8582) Allow thumbnailing when imagesize has a space.
* (bug 8716) Change math_inputhash and math_outputhash to byte for Postgres
-* (bug 8558) Correct display of timestamps on some pages when using Postgres
* (bug 9343) Correct internal name for Wolof language
* (bug 9363) Fix Postgres error on Recentchangeslinked
* (bug 5142) Fixed call of hook ArticleViewHeader
*/
function timeanddate( $ts, $adj = false, $format = true, $timecorrection = false) {
$this->load();
-
- ## Account for non-integer timestamps
- if (substr($ts,4,1) === '-') {
- $ts = preg_replace('/\D/', '', $ts);
- }
-
if ( $adj ) {
$ts = $this->userAdjust( $ts, $timecorrection );
}