Skip to content

time: mention reference date used for formatting in time.Parse #48757

@chriseyre2000

Description

@chriseyre2000

As of go1.17.1

This is a documentation issue so environment and recreation issues are irrelevent.

The documentation for the time.Parse fails to mention the "magical reference date"
(https://programming.guide/go/format-parse-string-time-date-example.html)

This makes working with date parsing much harder than it needs to be.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationIssues describing a change to documentation.NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.WaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions