-
Notifications
You must be signed in to change notification settings - Fork 247
Define behavior for time-based FREQ and date-only DTSTART #616
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks!
… Now, after repairing it, the test fails.
… 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.
d95012f to
73c0b04
Compare
|
There was a problem hiding this 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



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.