Documentation ¶
Index ¶
Constants ¶
View Source
const ISO8601CompactFormat = "20060102T150405Z"
ISO8601CompactFormat is a layout for time.Format that prints a time value in the most compact ISO8601 format available. This assumes the time value is in UTC, and returns the time zone as 'Z'.
Variables ¶
This section is empty.
Functions ¶
func ParseISO8601Timestamp ¶
ParseISO8601Timestamp converts an ISO 8601 timestamp into a time.Time result. Compared to time.Parse(time.RFC3339) and time.Parse(time.RFC3339Nano), this accepts the full range of ISO 8601 formats and the RFC 3339 variants.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.