From 96cc2819c7a1abf72f1029b6bc97fe7795acbe00 Mon Sep 17 00:00:00 2001 From: Mohamed Magdy Date: Mon, 23 Jun 2008 22:39:49 +0000 Subject: [PATCH] Patch that fixes bug number 14452. patch by AhmadSherif. --- includes/parser/Parser.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 4daa8f2956..43e3b229fc 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -3706,6 +3706,12 @@ class Parser $tz = date( 'T', $unixts ); # might vary on DST changeover! putenv( 'TZ='.$oldtz ); } + + $ctz = wfMsgForContent('timezone'); + if (!wfEmptyMsg('timezone', $ctz)) { + $tz = $ctz; + } + $d = $wgContLang->timeanddate( $ts, false, false ) . " ($tz)"; # Variable replacement -- 2.20.1