Open
Description
Reporting an issue
Thank you for taking an interest in rrule
! Please include the following in
your report:
- Verify that you've looked through existing issues for duplicates before
creating a new one - Code sample reproducing the issue. Be sure to include all input values you
are using such as the exact RRule string and dates. - Expected output
- Actual output
- The version of
rrule
you are using - Your operating system
- Your local timezone (run
$ date
from the command line
of the machine showing the bug)
Expected input: RRule.fromText("every week for 30 times")
Actual input: RRule.fromText("every%20week%20for%2030%20times")
RRule version: current (I guess)
Operating System: OSX
Timezone: CET
Solution
The value in the input causing RRule.fromText()
to fail is url encoded. When inserting it in the input, it must be decoded.