Skip to content

Commit

Permalink
Shift Content Release start time to 9 am.
Browse files Browse the repository at this point in the history
  • Loading branch information
timcosgrove committed Dec 17, 2024
1 parent 4f653ef commit 205f9b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 205f9b5

Please sign in to comment.