r36587 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r36586‎ | r36587 | r36588 >
Date:22:39, 23 June 2008
Author:alnokta
Status:old
Tags:
Comment:
Patch that fixes bug number 14452. patch by AhmadSherif.
Modified paths:
  • /trunk/phase3/includes/parser/Parser.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/parser/Parser.php
@@ -3706,6 +3706,12 @@
37073707 $tz = date( 'T', $unixts ); # might vary on DST changeover!
37083708 putenv( 'TZ='.$oldtz );
37093709 }
 3710+
 3711+ $ctz = wfMsgForContent('timezone');
 3712+ if (!wfEmptyMsg('timezone', $ctz)) {
 3713+ $tz = $ctz;
 3714+ }
 3715+
37103716 $d = $wgContLang->timeanddate( $ts, false, false ) . " ($tz)";
37113717
37123718 # Variable replacement

Follow-up revisions

RevisionCommit summaryAuthorDate
r36633Fix for r36587:...raymond12:09, 25 June 2008

Status & tagging log