Loading src/Element/OfficeHoursBaseSlot.php +1 −1 Original line number Diff line number Diff line Loading @@ -329,7 +329,7 @@ class OfficeHoursBaseSlot extends FormElementBase { * An optional day_delta. * * @return string * The formatted and trranslated day label, e.g., 'Tuesday'. * The formatted and translated day label, e.g., 'Tuesday'. */ protected static function formatWeekday(string $pattern, array $value, $day_delta = 0): string { $label = ''; Loading src/OfficeHoursDateHelper.php +1 −1 Original line number Diff line number Diff line Loading @@ -572,7 +572,7 @@ class OfficeHoursDateHelper extends DateHelper { * (using date_api as key (0=Sun, 6=Sat)), season day or Exception date. * * @return bool * True if the daynumber is a seasonheader, i.c. 9. * True if the day number is a SeasonHeader, i.c. 9. */ public static function isSeasonHeader($day): bool { $result = (intval($day) % OfficeHoursDateHelper::SEASON_ID_FACTOR) == OfficeHoursDateHelper::SEASON_DAY_MIN; Loading Loading
src/Element/OfficeHoursBaseSlot.php +1 −1 Original line number Diff line number Diff line Loading @@ -329,7 +329,7 @@ class OfficeHoursBaseSlot extends FormElementBase { * An optional day_delta. * * @return string * The formatted and trranslated day label, e.g., 'Tuesday'. * The formatted and translated day label, e.g., 'Tuesday'. */ protected static function formatWeekday(string $pattern, array $value, $day_delta = 0): string { $label = ''; Loading
src/OfficeHoursDateHelper.php +1 −1 Original line number Diff line number Diff line Loading @@ -572,7 +572,7 @@ class OfficeHoursDateHelper extends DateHelper { * (using date_api as key (0=Sun, 6=Sat)), season day or Exception date. * * @return bool * True if the daynumber is a seasonheader, i.c. 9. * True if the day number is a SeasonHeader, i.c. 9. */ public static function isSeasonHeader($day): bool { $result = (intval($day) % OfficeHoursDateHelper::SEASON_ID_FACTOR) == OfficeHoursDateHelper::SEASON_DAY_MIN; Loading