- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestParseFractionalSecondsLongerThanNineDigits (0.37 sec)
-
src/time/format_test.go
// 12 digits, truncates {"2021-09-29T16:04:33.000123456789Z", 123_456}, // 15 digits, truncates {"2021-09-29T16:04:33.9999999999999999Z", 999_999_999}, } // Issue 48685 and 54567. func TestParseFractionalSecondsLongerThanNineDigits(t *testing.T) { for _, tt := range longFractionalDigitsTests { for _, format := range []string{RFC3339, RFC3339Nano} { tm, err := Parse(format, tt.value) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:58:29 UTC 2024 - 36.4K bytes - Viewed (0)