Skip to content

time: Parse any two-digit day in any month #12333

@rsc

Description

@rsc

time.Parse rejects October 32, but time.Date accepts it (explicitly, in the docs).
Perhaps October 32 should be valid in time.Parse as well.

This would be an alternate approach to the inconsistency that Feb 31 is accepted. See #7268.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions