time.Time.Format (method)
39 uses
time (current package)
format.go#L498: s := t.Format("2006-01-02 15:04:05.999999999 -0700 MST")
format.go#L587: func (t Time) Format(layout string) string {
crypto/x509
parser.go#L191: if serialized := t.Format(formatStr); serialized != s {
verify.go#L576: Detail: fmt.Sprintf("current time %s is before %s", now.Format(time.RFC3339), c.NotBefore.Format(time.RFC3339)),
verify.go#L582: Detail: fmt.Sprintf("current time %s is after %s", now.Format(time.RFC3339), c.NotAfter.Format(time.RFC3339)),
database/sql
convert.go#L276: *d = s.Format(time.RFC3339Nano)
convert.go#L282: *d = []byte(s.Format(time.RFC3339Nano))
encoding/asn1
asn1.go#L352: if serialized := ret.Format(formatStr); serialized != s {
asn1.go#L375: if serialized := ret.Format(formatStr); serialized != s {
github.com/aws/aws-sdk-go-v2/aws/retry
middleware.go#L274: parts = append(parts, "ttl="+ttl.Format(unixTimeFormat))
github.com/aws/aws-sdk-go-v2/aws/signer/internal/v4
time.go#L33: v := m.Time.Format(format)
github.com/aws/aws-sdk-go-v2/internal/v4a
v4a.go#L251: amzDate := s.Time.Format(timeFormat)
v4a.go#L376: s.Time.Format(shortTimeFormat),
v4a.go#L472: s.Time.Format(timeFormat),
github.com/aws/aws-sdk-go-v2/internal/v4a/internal/v4
time.go#L33: v := m.Time.Format(format)
github.com/aws/smithy-go/time
time.go#L31: return value.UTC().Format(dateTimeFormatOutput)
time.go#L50: return value.UTC().Format(httpDateFormat)
github.com/golang/protobuf/jsonpb
encode.go#L203: x := t.Format("2006-01-02T15:04:05.000000000")
github.com/golang/protobuf/ptypes
timestamp.go#L86: return t.Format(time.RFC3339Nano)
github.com/robfig/cron/v3
logger.go#L81: arg = t.Format(time.RFC3339)
go.uber.org/zap/zapcore
encoder.go#L127: enc.AppendString(t.Format(layout))
golang.org/x/net/http2
server.go#L2583: date = time.Now().UTC().Format(http.TimeFormat)
golang.org/x/net/trace
events.go#L241: return e.When.Format("2006/01/02 15:04:05.000000")
events.go#L243: return e.When.Format("15:04:05.000000")
events.go#L355: return el.Start.Format("2006/01/02 15:04:05.000000")
trace.go#L699: return e.When.Format("2006/01/02 15:04:05.000000")
trace.go#L701: return e.When.Format("15:04:05.000000")
trace.go#L888: return tr.Start.Format("2006/01/02 15:04:05.000000")
golang.org/x/tools/internal/event/core
event.go#L40: fmt.Fprint(f, ev.at.Format("2006/01/02 15:04:05 "))
google.golang.org/protobuf/encoding/protojson
well_known_types.go#L800: x := t.Format("2006-01-02T15:04:05.000000000")
net/http
fs.go#L531: w.Header().Set("Last-Modified", modtime.UTC().Format(TimeFormat))
h2_bundle.go#L6182: date = time.Now().UTC().Format(TimeFormat)
transport.go#L2679: logf(time.Now().Format(time.RFC3339Nano)+": "+format, args...)
vendor/golang.org/x/crypto/cryptobyte
asn1.go#L116: c.AddBytes([]byte(t.Format(generalizedTimeFormatStr)))
asn1.go#L129: c.AddBytes([]byte(t.Format(defaultUTCTimeFormatStr)))
asn1.go#L480: if serialized := res.Format(generalizedTimeFormatStr); serialized != t {
asn1.go#L512: if serialized := res.Format(formatStr); serialized != t {