Issue with humanizing a RRULE with BYMONTHDAY
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 55/100
Research direction
Reproduce the failure with RRule::Rule.new('RRULE:FREQ=MONTHLY;BYMONTHDAY=1').humanize and start at the RRule::Humanizer entry point named in the error. Verify that BYMONTHDAY values produce the requested ordinal wording for 15, 1, and -1, with no NameError.
Written by the indexing model from the issue text.
Description
I'm getting an error when I try to humanize a RRULE with BYMONTHDAY.
Error:
> RRule::Rule.new('RRULE:FREQ=MONTHLY;BYMONTHDAY=1').humanize
NameError: undefined local variable or method `_bymonthday' for #<RRule::Humanizer:0x0000000163012908>
The example I'm using is
RRULE:FREQ=MONTHLY;BYMONTHDAY=1
From rrule.js demo:
https://jkbrzt.github.io/rrule/#/rfc/RRULE:FREQ=MONTHLY;BYMONTHDAY=1
It should read:
every month on the 15thifBYMONTHDAy=15every month on the 1stifBYMONTHDAY=1every month on the lastifBYMONTHDAY=-1
I'll try to fix when I get some time, but if someone else wants to take a crack at it, then by all means.
- Dominant language
- Ruby
- Stars
- 186
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from square/ruby-rrule
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
square/ruby-rrule#74 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
square/ruby-rrule#70 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
square/ruby-rrule#64 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
square/ruby-rrule#62 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
square/ruby-rrule#58 ·
All issues in square/ruby-rrule
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
forem/forem#23933 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
rails/mission_control-jobs#347 ·