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

RFC compliance and fixes for issue #137 #1

Merged
merged 7 commits into from
Jun 8, 2020
Merged

RFC compliance and fixes for issue #137 #1

merged 7 commits into from
Jun 8, 2020

Conversation

ftcvlad
Copy link
Owner

@ftcvlad ftcvlad commented Jun 8, 2020

Bug 1: recurr does not parse rrule string correctly if the string has TZID. At the same time when converting Rule to string recurr is able to output TZID.
Bug 2: When converting Rule to string, recurr outputs 'DTSTART=', which RFC 5545 doesnt allow, and which recurr is not able to correctly parse

  1. Test Recurr is able to parse the string created by itself
  2. Fix parsing for the test to pass

Bug 3: If endDate is passed as DateTimeImmutable it is not applied to the produced rrule string because the check is instanceOf DateTime. Check for DateTimeInterface

DTSTART, DTEND and TZID from rrule string take precedence over constructor parameters

@ftcvlad ftcvlad changed the title Tzid bugfixes RFC compliance and fixes for issue https://github.com/simshaun/recurr/issues/137 Jun 8, 2020
@ftcvlad ftcvlad changed the title RFC compliance and fixes for issue https://github.com/simshaun/recurr/issues/137 RFC compliance and fixes for issue #137 Jun 8, 2020
@ftcvlad ftcvlad changed the title RFC compliance and fixes for issue #137 RFC compliance and fixes for issue simshaun/recurr#137 Jun 8, 2020
@ftcvlad ftcvlad changed the title RFC compliance and fixes for issue simshaun/recurr#137 RFC compliance and fixes for issue #137 Jun 8, 2020
@ftcvlad ftcvlad merged commit 3ad214f into master Jun 8, 2020
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.

1 participant