-
-
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
time zone error while using WithAll() #2980
Comments
I can't reproduce your question. |
Try to change More specifically, the problem is that time fields of the embedded struct If you set Here is a screenshot displaying the inconsistence in debug window: |
1. What version of
Go
and system type/arch are you using?go1.21.0 darwin/arm64
2. What version of
GoFrame
are you using?v2.5.4
3. Can this issue be re-produced with the latest release?
yes
4. What did you do?
init MySQL data
reproduce logic
You can also clone this repository and run it locally. https://github.com/exqlnet/gdb-withall-bug
hack/init.sql
in local/test MySQL server.hack/config.yaml
.go run hack/withall.go
I have read the instruction here: https://goframe.org/pages/viewpage.action?pageId=3672072. It does not mention the time zone used for querying and unmarshaling data, but after my testing, it should be consistent with the parameter passing. And it has little to do with this issue.
5. What did you expect to see?
The two unix timestamp should be the same. More specifically, it should print the following content.
6. What did you see instead?
The text was updated successfully, but these errors were encountered: