diff --git a/app/Http/Controllers/EntityController.php b/app/Http/Controllers/EntityController.php index bac225a..b50846e 100644 --- a/app/Http/Controllers/EntityController.php +++ b/app/Http/Controllers/EntityController.php @@ -102,9 +102,9 @@ public function getShow($id, $year = null, $week = null, $highlightId = -1) ->with('week', $week) ->with('year', $year) ->with('nextWeek', date("W", strtotime("+1week", $startDate))) - ->with('nextYear', date("Y", strtotime("+1week", $startDate))) + ->with('nextYear', date("Y", strtotime("+1week thursday", $startDate))) ->with('prevWeek', date("W", strtotime("-1week", $startDate))) - ->with('prevYear', date("Y", strtotime("-1week", $startDate))) + ->with('prevYear', date("Y", strtotime("-1week thursday", $startDate))) ->with('highlightId', $highlightId); }