r53042 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r53041‎ | r53042 | r53043 >
Date:11:45, 10 July 2009
Author:tstarling
Status:deferred
Tags:
Comment:
Fixed bug reported on CR r52503, invalid date format passed to $wgLang->date() (DB instead of MW).
Modified paths:
  • /trunk/extensions/intersection/DynamicPageList.php (modified) (history)

Diff [purge]

Index: trunk/extensions/intersection/DynamicPageList.php
@@ -446,7 +446,7 @@
447447 $title = Title::makeTitle( $row->page_namespace, $row->page_title);
448448 $output .= $sStartItem;
449449 if (true == $bAddFirstCategoryDate)
450 - $output .= $wgLang->date($row->cl_timestamp) . wfMsg( 'colon-separator' );
 450+ $output .= $wgLang->date( wfTimestamp( TS_MW, $row->cl_timestamp ) ) . wfMsg( 'colon-separator' );
451451
452452 $query = array();
453453 if (true == $bShowCurId)

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r52503* Introduced a new system for localisation caching. The system is based aroun...tstarling07:11, 28 June 2009

Status & tagging log