-
-
Notifications
You must be signed in to change notification settings - Fork 519
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
Break after until #354
base: master
Are you sure you want to change the base?
Break after until #354
Conversation
Codecov Report
@@ Coverage Diff @@
## master #354 +/- ##
==========================================
+ Coverage 90.06% 90.07% +0.01%
==========================================
Files 28 28
Lines 1962 1964 +2
Branches 583 585 +2
==========================================
+ Hits 1767 1769 +2
Misses 195 195
Continue to review full report at Codecov.
|
src/iter/index.ts
Outdated
return emitResult(iterResult) | ||
if (counterDate) { | ||
|
||
if (counterDate.year > endYear) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please collapse these 2 if
statements into if (counterDate && counterDate.year > endYear)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you should take it despite that now no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor tweak, otherwise nice optimization!
Daily repeating entries can hang the browser when querying between.
Fix to use the until parameter to prevent this happening
Thanks for contributing to
rrule
!To submit a pull request, please verify that you have done the following:
master
commitaddressing