Replies: 1 comment
-
Does anyone know how to change db's time? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Self Checks
Content
How to change the data entry time of pg database? Database fields about time, such as created_at, etc. are all utc time, I have changed the time of pg container and api container, work container and all other containers to Asia/Shanghai. I did a local test, write data directly to pg, let created_at automatically fill in the time, and found that the time was correct for the Eastern 8 zone time. So how to change the time entry time? Is the time defined as UTC time in the source code?

Beta Was this translation helpful? Give feedback.
All reactions