- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for appendStrictRFC3339 (0.14 sec)
-
src/time/format_rfc3339.go
if zone < 0 { b = append(b, '-') zone = -zone } else { b = append(b, '+') } b = appendInt(b, zone/60, 2) b = append(b, ':') b = appendInt(b, zone%60, 2) return b } func (t Time) appendStrictRFC3339(b []byte) ([]byte, error) { n0 := len(b) b = t.appendFormatRFC3339(b, true) // Not all valid Go timestamps can be serialized as valid RFC 3339. // Explicitly check for these edge cases.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 18 19:59:26 UTC 2023 - 5.7K bytes - Viewed (0)