fix datetime test

This commit is contained in:
Andy Arthur
2022-05-25 11:07:14 -07:00
parent 1908ab04b7
commit 3e08aa3ec5

View File

@@ -416,7 +416,7 @@ func roundTripTimes(t *testing.T) {
func roundTripDatetimes(t *testing.T) {
datetimes := []time.Time{
time.Date(1000, 01, 01, 0, 0, 0, 0, time.UTC),
time.Now().UTC(),
time.UnixMicro(time.Now().UTC().UnixMicro()).UTC(),
time.Date(9999, 12, 31, 23, 59, 59, 0, time.UTC),
}