Skip to content

date: YYYY-MM-DD parsed incorrectly #6392

@rrconkle

Description

@rrconkle

When the day in the YYYY-MM-DD format is 1 character long, an extra zero is added to the end

$ uu-date -d 2000-1-1
Mon Jan 10 00:00:00 2000
$ uu-date -d 2000-1-4
uu-date: invalid date '2000-1-4'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions