-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Closed
Labels
FrozenDueToAgeProposalWaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.Issue is not actionable because of missing required information, which needs to be provided.
Milestone
Description
I am writing a Go library to interact with the Netgear Arlo camera API, and it uses UNIX Epoch in millisecond (13 digit) form extensively.
Why not add support for these time formats? They exist in other languages and therefore other APIs which may potentially be consumed by Go.
I vote for the original proposal in #18935:
Initial tl;dr: Go could make timestamp handling much easier by providing the following functions in its time library:
func (t Time) UnixMicro() int64 { ... }
func (t Time) UnixMilli() int64 { ... }
func FromUnixMicro(us int64) Time { ... }
func FromUnixMilli(ms int64) Time { ... }
cespare, euskadi31, 85danf and finnbear
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeProposalWaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.Issue is not actionable because of missing required information, which needs to be provided.