-
-
Notifications
You must be signed in to change notification settings - Fork 516
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
allow passing WeekdayStr to byweekday like the types suggest is possible #371
Conversation
} | ||
|
||
const wd = wday as Weekday |
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.
this cast was hiding the bug, and is now not necessary since we've handled all the other cases for the type of wday
@jakubroztocil for review? |
or maybe one of @lyschoening @davidgoli - other authors listed on the README? |
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.
This looks good, thanks for writing tests & removing unnecessary casts!
awesome, thanks @davidgoli . what's the cadence for releasing to |
I do, but I'm not as active on this project as I used to be - I can put together a release in the next day or so however. |
@davidgoli friendly ping 👀 |
@ekilah 2.6.3 published! apologies for the delay |
awesome, thanks |
the types suggest passing in weekday strings for
byweekday
, e.g.:options.byweekday = 'MO'
should be allowed, but it doesn't work. this fixes thatThanks for contributing to
rrule
!To submit a pull request, please verify that you have done the following:
master
commitaddressing