Found out that croniter.match will return true if the input date is less than 60 or 1 seconds from the match (depending if a 5 or 6 length cron).
From the documentation it would seem like match is exact.
I would suggest that the precision can be optionally passed in to the function and the docs updated to make it clear that match takes a precision. Happy to help put a PR together if you agree.
Found out that
croniter.match
will return true if the input date is less than 60 or 1 seconds from the match (depending if a 5 or 6 length cron).From the documentation it would seem like match is exact.
I would suggest that the precision can be optionally passed in to the function and the docs updated to make it clear that match takes a precision. Happy to help put a PR together if you agree.