File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -399,7 +399,7 @@ func TestIndexed(t *testing.T) {
399399 {func (v uint64 ) * uint64 { return & v }(100500 )},
400400 {func (v int64 ) * int64 { return & v }(100500 )},
401401 {func (v int32 ) * int32 { return & v }(100500 )},
402- {func (v time.Time ) * time.Time { return & v }(time .Unix (8683200000 , 0 ))},
402+ {func (v time.Time ) * time.Time { return & v }(time .Unix (8683200000 , 0 ). UTC () )},
403403 },
404404 },
405405 {
Original file line number Diff line number Diff line change @@ -411,7 +411,7 @@ func TestNamed(t *testing.T) {
411411 {func (v uint64 ) * uint64 { return & v }(100500 )},
412412 {func (v int64 ) * int64 { return & v }(100500 )},
413413 {func (v int32 ) * int32 { return & v }(100500 )},
414- {func (v time.Time ) * time.Time { return & v }(time .Unix (8683200000 , 0 ))},
414+ {func (v time.Time ) * time.Time { return & v }(time .Unix (8683200000 , 0 ). UTC () )},
415415 },
416416 },
417417 {
Original file line number Diff line number Diff line change @@ -477,7 +477,7 @@ func TestStruct(t *testing.T) {
477477 Int8Int32 : 123 ,
478478 Int8Int16 : 123 ,
479479 BoolBool : true ,
480- DateTime : time .Unix (8683200000 , 0 ),
480+ DateTime : time .Unix (8683200000 , 0 ). UTC () ,
481481 DatetimeTime : time .Unix (100500 , 0 ),
482482 TimestampTime : time .Unix (12345678987 , 654321000 ),
483483 }, dst )
You can’t perform that action at this time.
0 commit comments