From: gpadgham Date: Wed, 1 Nov 2000 22:38:27 +0000 (+0000) Subject: more places needed the $invert_time variable declared global to be able to be read... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2ed6f9073a76e3d508a8dbe827ffff86da04d7a7;p=squirrelmail.git more places needed the $invert_time variable declared global to be able to be read from the config file. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@833 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/date.php b/functions/date.php index b0f80785..6cb4b68c 100644 --- a/functions/date.php +++ b/functions/date.php @@ -13,6 +13,7 @@ // corrects a time stamp to be the local time function getGMTSeconds($stamp, $gmt) { + global $invert_time; if (($gmt == "Pacific") || ($gmt == "PST")) $gmt = "-0800"; else if (($gmt == "EDT")) @@ -70,6 +71,7 @@ } function getDateString($stamp) { + global $invert_time; $now = time(); $dateZ = date("Z", $now); if ($invert_time)