iso8601

package
v0.0.0-...-7402497 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2018 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const Format = "2006-01-02T15:04:05Z07:00"

Format of ISO 8601 time in golang (http://stackoverflow.com/a/42358468/5323316)

Variables

This section is empty.

Functions

func Convert

func Convert(t time.Time) string

Convert the given time to ISO 8601

func Now

func Now() string

Now returns the time in ISO 8601 format

func Parse

func Parse(t string) (time.Time, error)

Parse returns a time for a give ISO 8601 formated time

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL