time.Time.Truncate (method)

9 uses

	time (current package)
		time.go#L1778: func (t Time) Truncate(d Duration) Time {

	github.com/jackc/pgx/v5/internal/sanitize
		sanitize.go#L83: 				p = arg.Truncate(time.Microsecond).

	github.com/jackc/pgx/v5/pgtype
		timestamp.go#L218: 		s = t.Truncate(time.Microsecond).Format(pgTimestampFormat)
		timestamptz.go#L207: 		t := ts.Time.UTC().Truncate(time.Microsecond)

	github.com/robfig/cron/v3
		spec.go#L153: 			t = t.Truncate(time.Minute)
		spec.go#L165: 			t = t.Truncate(time.Second)

	log/slog
		handler.go#L629: 	t = t.Truncate(time.Millisecond).Add(time.Millisecond / 10)

	net/http
		fs.go#L525: 	modtime = modtime.Truncate(time.Second)
		fs.go#L576: 	modtime = modtime.Truncate(time.Second)