var time.UTC
27 uses
time (current package)
format.go#L815: return parse(layout, value, UTC, Local)
format.go#L988: z = UTC
format.go#L1050: z = UTC
format.go#L1150: t := Date(year, Month(month), day, hour, min, sec, nsec, UTC)
format.go#L1167: t := Date(year, Month(month), day, hour, min, sec, nsec, UTC)
time.go#L1109: l = UTC
time.go#L1147: if t.Location() == UTC {
zoneinfo.go#L67: var UTC *Location = &utcLoc
zoneinfo.go#L633: return UTC, nil
archive/zip
reader.go#L384: epoch := time.Date(1601, time.January, 1, 0, 0, 0, 0, time.UTC)
struct.go#L235: time.UTC,
github.com/go-git/go-git/v5/plumbing/object
object.go#L135: s.When = time.Unix(ts, 0).In(time.UTC)
github.com/jackc/pgconn
pgconn.go#L234: func() { pgConn.conn.SetDeadline(time.Date(1, 1, 1, 1, 1, 1, 1, time.UTC)) },
pgconn.go#L842: func() { cancelConn.SetDeadline(time.Date(1, 1, 1, 1, 1, 1, 1, time.UTC)) },
pgconn.go#L1706: func() { pgConn.conn.SetDeadline(time.Date(1, 1, 1, 1, 1, 1, 1, time.UTC)) },
github.com/jackc/pgtype
date.go#L114: t, err := time.ParseInLocation("2006-01-02", sbuf, time.UTC)
date.go#L143: t := time.Date(2000, 1, int(1+dayOffset), 0, 0, 0, 0, time.UTC)
date.go#L183: tUnix := time.Date(src.Time.Year(), src.Time.Month(), src.Time.Day(), 0, 0, 0, 0, time.UTC).Unix()
date.go#L184: dateEpoch := time.Date(2000, 1, 1, 0, 0, 0, 0, time.UTC).Unix()
date.go#L278: t, err := time.ParseInLocation("2006-01-02", *s, time.UTC)
time.go#L90: *v = time.Date(2000, 1, 1, int(hours), int(minutes), int(seconds), int(ns), time.UTC)
timestamp.go#L42: *dst = Timestamp{Time: time.Date(value.Year(), value.Month(), value.Day(), value.Hour(), value.Minute(), value.Second(), value.Nanosecond(), time.UTC), Status: Present}
timestamp.go#L161: if src.Time.Location() != time.UTC {
timestamp.go#L188: if src.Time.Location() != time.UTC {
golang.org/x/pkgsite/internal/frontend
header.go#L106: return date.In(time.UTC).Format("Jan _2, 2006")
golang.org/x/pkgsite/internal/stdlib
stdlib.go#L176: TestCommitTime = time.Date(2019, 9, 4, 1, 2, 3, 0, time.UTC)
golang.org/x/pkgsite/internal/testing/sample
sample.go#L172: return time.Now().In(time.UTC).Truncate(time.Microsecond)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |