-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
os/gtime: issue title #3734
Labels
bug
It is confirmed a bug, but don't worry, we'll handle it.
Comments
Could you provide a minimal demo that reproduces the bug? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?
找不到任何问题。
The text was updated successfully, but these errors were encountered: