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

Recurrence evaluation: Fix calculation of week numbering. #652

Merged
merged 2 commits into from
Nov 25, 2024

Conversation

minichma
Copy link
Collaborator

Restore and fix one of the failing tests from #618. I.e. week numbers were not calculated correctly if the start of the week (WKST) was different from Monday.

Copy link

codecov bot commented Nov 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Impacted file tree graph

@@         Coverage Diff         @@
##           main   #652   +/-   ##
===================================
  Coverage    60%    60%           
===================================
  Files       100    100           
  Lines      4641   4643    +2     
  Branches   1104   1103    -1     
===================================
+ Hits       2795   2797    +2     
  Misses     1379   1379           
  Partials    467    467           
Files with missing lines Coverage Δ
Ical.Net/CalendarExtensions.cs 100% <100%> (ø)
Ical.Net/Evaluation/RecurrencePatternEvaluator.cs 69% <100%> (ø)

@axunonb axunonb force-pushed the work/minichma/bugfix/recur_test_restore branch from e2d2355 to 5e2864e Compare November 25, 2024 22:18
@minichma minichma marked this pull request as ready for review November 25, 2024 22:19
Copy link
Collaborator

@axunonb axunonb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good, another step ahead, thanks!

@minichma minichma merged commit 7cb2fa3 into main Nov 25, 2024
6 of 7 checks passed
@minichma minichma deleted the work/minichma/bugfix/recur_test_restore branch November 25, 2024 22:26
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