Skip to content

Document precision for croniter.match #58

@mjgp2

Description

@mjgp2

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions