r9088 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r9087‎ | r9088 | r9089 >
Date:16:52, 17 May 2005
Author:gabrielwicke
Status:old
Tags:
Comment:
Only show date in headers, not the time (articles grouped by date)
Modified paths:
  • /trunk/extensions/catfeed/catfeed.php (modified) (history)

Diff [purge]

Index: trunk/extensions/catfeed/catfeed.php
@@ -226,7 +226,7 @@
227227 $oldtitle = $row->cur_title;
228228 $title = Title::makeTitle( $row->cur_namespace, $row->cur_title );
229229 $ts = $row->cl_timestamp;
230 - $newdate = $wgLang->timeanddate( wfTimestamp( TS_MW, $ts ) );
 230+ $newdate = $wgLang->date( wfTimestamp( TS_MW, $ts ) );
231231 if( $date != $newdate ) {
232232 $date = $newdate;
233233 $list .= "$closedl\n<h2> ".$date." </h2>\n<dl>";

Status & tagging log