Преглед изворни кода

fixed bug in figuring out which date format to show.

Luke Ehresman пре 25 година
родитељ
комит
20809ecfc8
1 измењених фајлова са 1 додато и 1 уклоњено
  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