From 205f9b51f845372767fe6b41ae0d6ad4888e0afe Mon Sep 17 00:00:00 2001 From: Tim Cosgrove Date: Tue, 17 Dec 2024 15:49:44 -0800 Subject: [PATCH] Shift Content Release start time to 9 am. --- .../va_gov_build_trigger/src/Traits/RunsDuringBusinessHours.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docroot/modules/custom/va_gov_build_trigger/src/Traits/RunsDuringBusinessHours.php b/docroot/modules/custom/va_gov_build_trigger/src/Traits/RunsDuringBusinessHours.php index 67a3bf50c9..45a9120b04 100644 --- a/docroot/modules/custom/va_gov_build_trigger/src/Traits/RunsDuringBusinessHours.php +++ b/docroot/modules/custom/va_gov_build_trigger/src/Traits/RunsDuringBusinessHours.php @@ -79,7 +79,7 @@ protected function isCurrentlyDuringBusinessHours() : bool { $hour_of_day = $this->getDateFormatterService()->format($currentTime, 'custom', 'G', 'America/New_York', LanguageInterface::LANGCODE_NOT_APPLICABLE); $is_business_day = (1 <= $day_of_week && $day_of_week <= 5); - $is_business_hour = (8 <= $hour_of_day && $hour_of_day < 20); + $is_business_hour = (9 <= $hour_of_day && $hour_of_day < 20); return ($is_business_day && $is_business_hour); }