Skip to content

date input: parser trusts weekday over explicit calendar date #317

Description

@mikusgabriel

After looking at this issue, I have come to realize that there might be an issue with the date parsing in this crate. As the goal is to align with GNU coreutils, please correct me if I am wrong, I believe we should trust the calendar date over the weekday.

Repro (GNU coreutils - top, uutils/coreutils - bottom):
Image

I am new to open-source and rust, but I would be glad to take a look, if the issue is deemed acceptable.
Thanks!

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