Skip to content
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

define result of BYHOUR, BYMINUTE and BYSECOND with all-day start date #119

Open
dmfs opened this issue Mar 5, 2023 · 1 comment
Open

Comments

@dmfs
Copy link
Owner

dmfs commented Mar 5, 2023

At present BYHOUR, BYMINUTE and BYSECOND can be used with all-day start date and the result is somewhat undefined.
The lib should have a well defined behavior, either ignore or fail. The behavior may depend on the parser mode.

@dmfs
Copy link
Owner Author

dmfs commented Mar 5, 2023

RFC 5545 is actually quite clear about that:

 The BYSECOND, BYMINUTE and BYHOUR rule parts MUST NOT be specified
 when the associated "DTSTART" property has a DATE value type.
 These rule parts MUST be ignored in RECUR value that violate the
 above requirement (e.g., generated by applications that pre-date
 this revision of iCalendar).

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

No branches or pull requests

1 participant