Skip to content

Commit

Permalink
Compare time too when detecting ended events (Bug #13368).
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Jul 31, 2014
1 parent e4f5953 commit afda5a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kronolith/lib/Block/Summary.php
Expand Up @@ -138,7 +138,7 @@ protected function _content()
if ($event->end->compareDate($tomorrow) >= 0) {
$event->end = $tomorrow;
}
if ($event->end->compareDate($now) < 0) {
if ($event->end->compareDateTime($now) < 0) {
continue;
}

Expand Down

0 comments on commit afda5a2

Please sign in to comment.