types: fix a bug of FromGoTime
when handling rounding
#12258
Merged
FromGoTime
when handling rounding
#12258