Skip to content

time: make Time.Weekday a method #2245

@rsc

Description

@rsc
Weekday should be a method on *time.Time,
not a field.  Then it cannot be inconsistent with
the rest of the struct.  time.Parse would just
discard a parsed weekday.

Per discussion a month or so ago.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions