Skip to content

m1y accepted as a valid date (while GNU version rejects it) #147

Closed
@drinkcat

Description

@drinkcat
# Current time for reference
$ cargo run --config 'patch.crates-io.parse_datetime.path="../parse_datetime"' date
Mon May 26 14:53:08 CEST 2025
$ cargo run --config 'patch.crates-io.parse_datetime.path="../parse_datetime"' date -d "m1y"
Mon May 26 15:00:00 CEST 2025
$ date -d "m1y"
date: invalid date ‘m1y’

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