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

fix: include RDATE in busy calculation #691

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SebastianKrupinski
Copy link
Contributor

@SebastianKrupinski SebastianKrupinski commented Oct 1, 2024

fix: include RDATE in busy calculation

ICal spec allows for events with only an RDATE. At the moment if an event only includes an RDATE and no RRULE it is skipped due to the current code path only checking for the existence of a RRULE.

RFC Reference https://datatracker.ietf.org/doc/html/rfc5545#section-3.8.5.2

@SebastianKrupinski SebastianKrupinski changed the title fix: include RDATE in busy calulation fix: include RDATE in busy calculation Oct 1, 2024
Copy link

codecov bot commented Oct 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.76%. Comparing base (48f48cf) to head (7081a17).
Report is 5 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #691      +/-   ##
============================================
- Coverage     98.76%   98.76%   -0.01%     
  Complexity     1876     1876              
============================================
  Files            71       71              
  Lines          5346     5344       -2     
============================================
- Hits           5280     5278       -2     
  Misses           66       66              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@phil-davis
Copy link
Contributor

@SebastianKrupinski can you add some unit test case(s) that demonstrate that RDATE specifications will now be correctly processed.

Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
@phil-davis phil-davis force-pushed the fix-include-rdate-in-busy-calulation branch from 32f05b5 to 7081a17 Compare October 22, 2024 06:41
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.

2 participants