Browse Source

fixed bug in figuring out which date format to show.

Luke Ehresman 25 years ago
parent
commit
20809ecfc8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      functions/date.php

+ 1 - 1
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