types: fix a bug of FromGoTime
when handling rounding
#12258
+33
−2
Merged