Skip to content

Return error if date not understood #80

@mvaragnat

Description

@mvaragnat

Currently if the input is garbage or incorrect, the parser returns the current Date. I think it'd be better to return an error message like "Invalid input" so that it's easy to catch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions