Skip to content

Conversation

@DevJasperNL
Copy link
Contributor

Fixing issue GetOccurrences doesn't work for new DateTime(0, DateTimeKind.Utc) #76. By changing NotFound to -1.
Unit tests added for both GetNextOccurrence and GetOccurrences.

@odinserj odinserj merged commit 10a2f03 into HangfireIO:main Mar 21, 2025
3 checks passed
@odinserj
Copy link
Member

Thanks for fixing this, and especially for the unit tests, @DevJasperNL!

@DevJasperNL DevJasperNL deleted the bugfix/occurrence_with_zero_ticks branch March 29, 2025 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants