diff options
author | Camil Staps | 2020-02-21 08:30:35 +0100 |
---|---|---|
committer | Camil Staps | 2020-02-21 08:30:35 +0100 |
commit | 0fe23391c78f7457f95ad09e60c4d65353f3d656 (patch) | |
tree | b2b70f07292152d5d72c788b1ae4a93a866f04fe | |
parent | Add formatting for past and current events on list.php (diff) |
Fix highlighting of current events on list.php
-rw-r--r-- | list.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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'; |