r7872 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r7871‎ | r7872 | r7873 >
Date:18:43, 25 March 2005
Author:avar
Status:old
Tags:
Comment:
Fixing a small error of mine (the year didn't get displayed at all)
Modified paths:
  • /branches/REL1_4/phase3/languages/LanguageIs.php (modified) (history)

Diff [purge]

Index: branches/REL1_4/phase3/languages/LanguageIs.php
@@ -1200,7 +1200,9 @@
12011201
12021202 function date( $ts, $adj = false ) {
12031203 if ( $adj ) { $ts = $this->userAdjust( $ts ); } # Adjust based on the timezone setting.
1204 - $date = (0 + substr( $ts, 6, 2 )) . '. ' . $this->getMonthName( substr( $ts, 4, 2 ) );
 1204+ $date = (0 + substr( $ts, 6, 2 )) . '. ' .
 1205+ $this->getMonthName( substr( $ts, 4, 2 ) ) . ' ' .
 1206+ substr($ts, 0, 4);
12051207 return $date;
12061208 }
12071209

Status & tagging log