Skip to content

time: document the return value of time.Parse when parsing fails #23933

@abbot

Description

@abbot

Current implementation (as of this submission) of time.Parse always returns a zero time.Time{} value when it hits an error. It would be nice to document this and have it as a part of API, as it would simplify some use cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationIssues describing a change to documentation.FrozenDueToAgeNeedsDecisionFeedback is required from experts, contributors, and/or the community before a change can be made.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions