From e48bb0b11f7514c1835f85cba853b3295cb570e3 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 3 Nov 2006 08:54:38 +0000 Subject: [PATCH] * (bug 7785) Postgres compatibility for timestamps in RC feeds --- RELEASE-NOTES | 2 ++ includes/SpecialRecentchanges.php | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 617fd1b93d..193722bcbe 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -129,6 +129,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 461) Allow "Categories:" link at bottom of pages to be customized via pagecategorieslink message. * Sort the list of skins in "My Preferences" -> Skins by alphabetical order. +* (bug 7785) Postgres compatibility for timestamps in RC feeds + == Languages updated == diff --git a/includes/SpecialRecentchanges.php b/includes/SpecialRecentchanges.php index 35f0d29841..cfa115f168 100644 --- a/includes/SpecialRecentchanges.php +++ b/includes/SpecialRecentchanges.php @@ -613,9 +613,10 @@ function rcNamespaceForm( $namespace, $invert, $nondefaults, $categories_any ) { */ function rcFormatDiff( $row ) { $titleObj = Title::makeTitle( $row->rc_namespace, $row->rc_title ); + $timestamp = wfTimestamp( TS_MW, $row->rc_timestamp ); return rcFormatDiffRow( $titleObj, $row->rc_last_oldid, $row->rc_this_oldid, - $row->rc_timestamp, + $timestamp, $row->rc_comment ); } -- 2.20.1