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

Stringify argument not documented.

Open abberadhi opened this issue 1 year ago • 0 comments

I encountered an issue that left me scratching my head for a good while... When stringifying a cron expression that contains 6 fields accoring to the readme, the result is 5 fields (missing seconds).

It turns out .stringify() takes a boolean argument that controls whether to include the second field.

It would be good to have this information included in the readme.

Thanks, A.

abberadhi avatar Feb 08 '23 00:02 abberadhi