package timeutils

import "github.com/docker/docker/pkg/timeutils"

Index

Constants

const (
	// Define our own version of RFC339Nano because we want one
	// that pads the nano seconds part with zeros to ensure
	// the timestamps are aligned in the logs.
	RFC3339NanoFixed = "2006-01-02T15:04:05.000000000Z07:00"
	JSONFormat       = `"` + time.RFC3339Nano + `"`
)

Functions

func FastMarshalJSON

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

Source Files

json.go

Version
v1.3.1
Published
Oct 30, 2014
Platform
windows/amd64
Imports
2 packages
Last checked
12 seconds ago

Tools for package owners.