Skip to content

Conversation

@minichma
Copy link
Collaborator

Fixes #602.

Implement defined behavior of recurrence evaluation in case of a time-based FREQ (sec/min/hour) and a DTSTART of type DATE (i.e. date-only). With this PR such scenarios are handled as if DTSTART had a time set to midnight.

The case was previously covered by test Evaluate1, which was broken and is fixed with this PR.

@minichma minichma marked this pull request as ready for review October 19, 2024 20:55
axunonb
axunonb previously approved these changes Oct 20, 2024
Copy link
Collaborator

@axunonb axunonb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks!

… component (sec,min,hour) while DTSTART is date-only. This is undefined by RFC 5545 but we handle it by pretending DTSTART had a time set to midnight.
@sonarqubecloud
Copy link

Copy link
Collaborator

@axunonb axunonb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Free free to merge if this PR is complete now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test 'Evaluate1' broken - should fail but succeeds

2 participants