summaryrefslogtreecommitdiff
path: root/app/frontend/facades/CalendarFacade.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/frontend/facades/CalendarFacade.php')
-rw-r--r--app/frontend/facades/CalendarFacade.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/frontend/facades/CalendarFacade.php b/app/frontend/facades/CalendarFacade.php
index 1f78594..5a68f0a 100644
--- a/app/frontend/facades/CalendarFacade.php
+++ b/app/frontend/facades/CalendarFacade.php
@@ -203,7 +203,7 @@ class CalendarFacade extends Facade {
if ($firstDayAfter->format('D') !== $firstDayOfTheWeek) {
$firstDayAfter->modify('next ' . $firstDayOfTheWeek);
}
- $firstDayAfter->modify('-1 day');
+ $firstDayAfter->modify('-1 second');
return [$firstDay, $firstDayAfter];
}