Skip to content

Q: 使用Deta方式部署时,评论时间显示有误 || Q: When deploying in Deta mode, the comment time is displayed incorrectly #2167

Closed Answered by lizheming
LajiPZ asked this question in Q&A
Discussion options

You must be logged in to vote

这个是 TiDB 数据库的时区问题,可以去数据库里修改下时区,参考文档 https://docs.pingcap.com/tidb/stable/configure-time-zone

SET GLOBAL time_zone = '+8:00';


This is a time zone issue with the TiDB database. You can modify the time zone in the database. Refer to the document https://docs.pingcap.com/tidb/stable/configure-time-zone

SET GLOBAL time_zone = '+8:00';

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lizheming
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants