5 Commits
Author SHA1 Message Date
dualfroz 85d88ed1a2 Describe this repository 2026-10-22 21:02:01 +02:00
dualfroz e055ee7ac6 Fix GetPreviousOccurrence returning a day in a disallowed month
When the time-of-day search rolls back past the 1st of the month, dayLimit
(and maxDay) can drop below the first valid day of month. The day-of-month
'*' fast path in TryGetPreviousDay returned actualDay = 0, and
DateTimeToTicks(year, month, 0, ...) underflowed into the last day of the
previous month, which is not re-validated against the month field. Guard
against maxDay below the first day of month so the caller advances to the
previous allowed month instead.
2026-09-04 09:32:17 +02:00
upstream 9daaf8b304 Upstream HangfireIO/Cronos state of the touched files before 7c74681733 2026-09-04 09:32:17 +02:00
dualfroz 1a56b64326 Fix GetPreviousOccurrence returning a day in a disallowed month
When the time-of-day search rolls back past the 1st of the month, dayLimit
(and maxDay) can drop below the first valid day of month. The day-of-month
'*' fast path in TryGetPreviousDay returned actualDay = 0, and
DateTimeToTicks(year, month, 0, ...) underflowed into the last day of the
previous month, which is not re-validated against the month field. Guard
against maxDay below the first day of month so the caller advances to the
previous allowed month instead.
2026-09-06 01:19:48 +02:00
upstream 7d4c970307 Upstream HangfireIO/Cronos state of the touched files before b3970718a7 2026-09-04 09:32:17 +02:00