fixed bug in figuring out which date format to show.
authorlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 30 Oct 2000 18:12:06 +0000 (18:12 +0000)
committerlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 30 Oct 2000 18:12:06 +0000 (18:12 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@827 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/date.php

index 9f9f48d..b0f8078 100644 (file)
@@ -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