From: Greg Sabino Mullane Date: Mon, 26 Mar 2007 02:05:36 +0000 (+0000) Subject: Do not do timezone adjustment if tz is not set - unlogged in users thus see the ... X-Git-Tag: 1.31.0-rc.0~53606 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=8e942d3f969d81cf18f2714afeddb376193c8ec1;p=lhc%2Fweb%2Fwiklou.git Do not do timezone adjustment if tz is not set - unlogged in users thus see the "local" timezone --- diff --git a/languages/Language.php b/languages/Language.php index 5815f61979..d331f03768 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -416,7 +416,7 @@ class Language { } # Account for databases that use timestamp with time zone - if ( isset($wgDBtimezone) ) { + if ( isset($wgDBtimezone) and $tz ) { $hrDiff -= $wgDBtimezone; }