From c57a3b1a138e4d47c4b7ba565daf0797ca4493ae Mon Sep 17 00:00:00 2001 From: lkehresman Date: Mon, 30 Oct 2000 18:12:06 +0000 Subject: [PATCH] fixed bug in figuring out which date format to show. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@827 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/date.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/date.php b/functions/date.php index 9f9f48d1..b0f80785 100644 --- a/functions/date.php +++ b/functions/date.php @@ -74,7 +74,7 @@ $dateZ = date("Z", $now); if ($invert_time) $dateZ = - $dateZ; - $midnight = $now - ($now % 86400) - 86400 - $dateZ; + $midnight = $now - ($now % 86400) - $dateZ; if ($midnight < $stamp) { // Today -- 2.25.1