* (bug 7785) Postgres compatibility for timestamps in RC feeds
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 3 Nov 2006 08:54:38 +0000 (08:54 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 3 Nov 2006 08:54:38 +0000 (08:54 +0000)
RELEASE-NOTES
includes/SpecialRecentchanges.php

index 617fd1b..193722b 100644 (file)
@@ -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 ==
 
index 35f0d29..cfa115f 100644 (file)
@@ -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 );
 }