aboutsummaryrefslogtreecommitdiff
path: root/list.php
diff options
context:
space:
mode:
Diffstat (limited to 'list.php')
-rw-r--r--list.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/list.php b/list.php
index 52fc4ce..e3831a4 100644
--- a/list.php
+++ b/list.php
@@ -77,7 +77,7 @@ foreach ($events as $event){
$last_month=$month;
$time=time();
- if ($end_date<$time)
+ if ($end_date+3600*24<$time)
$classes[]='expired';
elseif ($start_date<=$time && $time<$end_date+3600*24)
$classes[]='current';