gf
gf copied to clipboard
os/gtime: issue title
Go version
go 1.20.7
GoFrame version
V 2.7.2
Can this bug be reproduced with the latest release?
Option Yes
What did you do?
代码为:
dao.User.Ctx(ctx).Update(do.User{registerAt:gtime.NewFromStr("1900-01-01 00:00:00")})
控制台的SQL没有问题。但数据库实际插入为:
1900-01-01 00:05:43
很奇怪。
What did you see happen?
数据库插入应该为:1900-01-01 00:00:00 , 实际情况是:1900-01-01 00:05:43
What did you expect to see?
找不到任何问题。