time.Time.Format (method)
19 uses
time (current package)
format.go#L528: s := t.Format("2006-01-02 15:04:05.999999999 -0700 MST")
format.go#L620: func (t Time) Format(layout string) string {
crypto/x509
verify.go#L578: Detail: fmt.Sprintf("current time %s is before %s", now.Format(time.RFC3339), c.NotBefore.Format(time.RFC3339)),
verify.go#L584: Detail: fmt.Sprintf("current time %s is after %s", now.Format(time.RFC3339), c.NotAfter.Format(time.RFC3339)),
encoding/asn1
asn1.go#L355: if serialized := ret.Format(formatStr); serialized != s {
asn1.go#L378: if serialized := ret.Format(formatStr); serialized != s {
github.com/gotd/td/internal/proto
message_id.go#L44: int64(id), id.Type(), id.Time().Format(time.RFC3339),
github.com/gotd/td/tdp
tdp.go#L65: b.WriteString(time.Unix(i, 0).UTC().Format(time.RFC3339))
go.uber.org/zap/zapcore
encoder.go#L127: enc.AppendString(t.Format(layout))
io/fs
format.go#L43: b = append(b, info.ModTime().Format(time.DateTime)...)
net/http
fs.go#L547: w.Header().Set("Last-Modified", modtime.UTC().Format(TimeFormat))
h2_bundle.go#L6466: date = time.Now().UTC().Format(TimeFormat)
transport.go#L2711: 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#L502: if serialized := res.Format(generalizedTimeFormatStr); serialized != t {
asn1.go#L534: if serialized := res.Format(formatStr); serialized != t {
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |