Closed JanStevens closed 5 years ago
Ha I think I found it, Fugit gets mixed up a bit when just using parse, when I use Fugit::Nat.parse
it always works as expected
Hello, thanks for reporting this.
you can also do:
Fugit.parse_nat('every 15 minutes')
Released as part of fugit 1.2.2.
Thanks again!
Issue description
Attempt to parse
every 15 minutes
How to reproduce
Nat seems to be able to parse the simplest cases and also 40 minutes, but throw in 30 minutes or 15 minutes and it fails to parse it (which seems a bit unexpected)
Expected behaviour
I expect that it is able to parse every case
Context
Please replace the content of this section with the output of the following commands:
Additional context
I'm attempting to convert an iso8601 interval to cron output (I'm using sidekiq cron for my databased custom cron jobs but they all use iso8601 interval)