alpinweis / cronex

Ruby library that converts cron expressions into human readable strings
Other
77 stars 29 forks source link

Fix Ranges in Hours #7

Open tisba opened 6 years ago

tisba commented 6 years ago

Cronex::Utils.format_time did not support ranges in hour_expression. I'm not sure I fully followed the design here. As the same problems seems to be present with day of month and day of week expression segments.

But maybe this PR can be used as a starting point.

See: https://github.com/alpinweis/cronex/issues/1