Skip to content

Commit

Permalink
Show yesterday's events too (Bug #14638).
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed May 10, 2017
1 parent 50d3c83 commit 4a081c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kronolith/lib/Block/Prevmonthlist.php
Expand Up @@ -99,7 +99,7 @@ protected function _content()
$endDate->mday, $endDate->month, $endDate->year);

/* Loop through the days. */
for ($i = 0; $i < $days; ++$i) {
for ($i = 0; $i <= $days; ++$i) {
$day = new Kronolith_Day($startDate->month, $startDate->mday + $i, $startDate->year);
if (empty($all_events[$day->dateString()])) {
continue;
Expand Down

0 comments on commit 4a081c4

Please sign in to comment.