diff --git a/app/View/Components/Layout.php b/app/View/Components/Layout.php index 216d272..282f7ae 100644 --- a/app/View/Components/Layout.php +++ b/app/View/Components/Layout.php @@ -4,7 +4,6 @@ use Closure; use DateTime; -use DateTimeZone; use Illuminate\Contracts\View\View; use Illuminate\View\Component; @@ -43,13 +42,13 @@ public function isItChristmas() : bool { } public function isItAprilFools() : bool { - $tz = new DateTimeZone("Europe/London"); - $currentDate = new DateTime("now", $tz); + $currentDate = new DateTime(); $currentDate->setTime(0, 0); $currentYear = intval($currentDate->format('Y')); - $aprilFools = new DateTime("$currentYear-04-01", $tz); + $aprilFools = new DateTime("$currentYear-04-01"); return $currentDate == $aprilFools; } + } diff --git a/config/app.php b/config/app.php index 88bdeae..551f521 100644 --- a/config/app.php +++ b/config/app.php @@ -5,7 +5,7 @@ return [ 'name' => env('APP_NAME', 'wah.moe'), - 'version' => '2026.03.31-patch0', + 'version' => '2026.03.31', 'env' => env('APP_ENV', 'production'), 'debug' => (bool)env('APP_DEBUG', false), 'url' => env('APP_URL', 'http://localhost'),