X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Fdate.php;h=6cb4b68ccc9b74cc57bf5bff2c0e62247cc1908c;hb=66488126ca870faca2630ee5693f15f3423fa662;hp=b0f80785de91701ff97e6e30701c1b8534f0c938;hpb=c57a3b1a138e4d47c4b7ba565daf0797ca4493ae;p=squirrelmail.git 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)