Skip to content

proposal: time: expose Location extend string for zone transitions #68367

@jaesung9507

Description

@jaesung9507

Proposal Details

When zoneinfo is needed, it is parsed from the files in the /usr/share/zoneinfo/ directory.
This implementation works only on Unix systems.
I recently discovered that this value is stored in the extend field of the time.Location struct.
I use this value to send to other devices.

I propose adding a getter function to retrieve this value:

func (l *Location) Extend() string

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Incoming

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions