From 82b7cad8893920a6dc4efec71440ffa683362a85 Mon Sep 17 00:00:00 2001 From: Justin Nesselrotte Date: Tue, 26 Mar 2024 19:27:15 -0600 Subject: [PATCH] Doors close at 10 PM --- app/External/WinDSX/Door.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/External/WinDSX/Door.php b/app/External/WinDSX/Door.php index 79222bdf..e7ab1802 100644 --- a/app/External/WinDSX/Door.php +++ b/app/External/WinDSX/Door.php @@ -26,11 +26,11 @@ private function __construct( public static function quickOpenHouse(): void { $doors = self::all()->filter(fn ($d) => $d->openDuringOpenHouseByDefault); - $elevenPM = now()->tz('America/Denver'); - $elevenPM->hour = 23; - $elevenPM->minute = 00; + $tenPM = now()->tz('America/Denver'); + $tenPM->hour = 22; + $tenPM->minute = 00; - event(new DoorControlUpdated($elevenPM, ...$doors->toArray())); + event(new DoorControlUpdated($tenPM, ...$doors->toArray())); } public static function quickDefaultDoors(): void