parse-cron icon indicating copy to clipboard operation
parse-cron copied to clipboard

Fix parse

Open jonnynux opened this issue 5 years ago • 1 comments

When using seconds I noticed that the last run were not correct. For example:

  • Rule (* * * * *) and time 15:15:01, the last execution must be 15:15:00, not 15:14:00.
  • Same having the rule (* * * * *) and time 15:15:00, the last execution must be 15:15:00, exactly now, not 15:14:00.

Also:

  • fixed some deprecations in tests
  • fixed style
  • added new tests

jonnynux avatar Oct 07 '20 14:10 jonnynux

@stakach Does anybody still supports this gem?

jonnynux avatar Oct 21 '20 13:10 jonnynux