roccivic
Repos
45
Followers
17
Following
4

Cron string converter for node.js and the browser

47
12

phpMyAdmin itself

2
0

Color management module for JavaScript. Supports RGBA, HSLA and CMYK, as string or object.

npm module to hash the contents of files matched by globs

Events

issue comment
remove momentjs from project

I understand the implications of depending on moment for creating bundles. I have not made any progress on this issue, and unfortunately don't expect to be able to make further progress any time soon. Contributions to the project are welcome as always.

Created at 3 weeks ago
Valid cron appear as invalid

Hello!

First of all, thanks for this library, it helped me a lot to create https://github.com/xrutayisire/react-js-cron.

Describe the bug There are two valid cron sting that are not well process within this library.

Reported in https://github.com/xrutayisire/react-js-cron/issues/30 that is based on this library.

To Reproduce

  1. First bug in: * 2-10,19-23/2 * * * actual out: * 2,4,6,8,10,20,22 * * * expected out: * 2,3,4,5,6,7,8,9,10,19,21,23 * * *

  2. Second bug in: * 2-6/2,19-23/2 * * * actual out: Error: Invalid value "2-6/2,19-23/2" for hour expected out: * 2,4,6,19,21,23 * * *

Created at 2 months ago
issue comment
Valid cron appear as invalid

Fixed in 1.0.2

Created at 2 months ago

Fixed string part parsing

Updated cron.min.js

1.0.2

Created at 2 months ago
issue comment
Valid cron appear as invalid

Thanks for the report. Indeed the string parsing looks incorrect.

@Sonic0 How different is your fix to this commit?

Created at 2 months ago

Fixed string part parsing

Created at 2 months ago

Fixed string part parsing

Created at 2 months ago
create branch
roccivic create branch parsing-fix
Created at 2 months ago