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

[RFCxxxx_Lax] Handling multiple ocurrences of the same BYxxx rule #14

Open
yahrens opened this issue Jul 5, 2013 · 2 comments
Open

Comments

@yahrens
Copy link
Contributor

yahrens commented Jul 5, 2013

Example:

"FREQ=YEARLY;BYMONTH=2;BYMONTH=3;BYMONTH=4"

We have several options here.

  1. Throw an exception (probably nonsense since we're in Lax mode)
  2. Either pick the first or the last one, ie. "BYMONTH=2" or "BYMONTH=4"
  3. Merge them together into one list, ie. "BYMONTH=2,3,4"
@ekubovsky
Copy link

Option N3 makes sense in LAX mode

@dmfs
Copy link
Owner

dmfs commented Jul 29, 2015

True, but I'm hesitating to implement this until I've actually seen such a broken rule in the wild.

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

3 participants