Skip to content

"In X days and Y hours" incorrectly interprets Y as days #70

Closed
@joepie91

Description

When specifying eg. "in 5 days and 2 hours" at https://matthewmueller.github.io/date/, the result is interpreted as (5 + 2) = 7 days. The issue appears to be the word 'and' - when specifying "in 5 days 2 hours", it correctly parses the text.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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