projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed bug in figuring out which date format to show.
[squirrelmail.git]
/
functions
/
date.php
diff --git
a/functions/date.php
b/functions/date.php
index 9f9f48d1b813bbc106c2ebe88f96c241368f895e..b0f80785de91701ff97e6e30701c1b8534f0c938 100644
(file)
--- 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