评论后时间显示为8小时 #826
评论后时间显示为8小时
#826
-
Beta Was this translation helpful? Give feedback.
Answered by
Mister-Hope
May 2, 2022
Replies: 3 comments 8 replies
-
这个很大可能的原因是时区不同,比如你的服务端使用UTC时间,但数据库和用户所在地区使用北京时间,导致出现了8个小时的时差。 这个只能你自己配置,因为对大多数服务来说,他们都统一使用UTC。 |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
Mister-Hope
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这个很大可能的原因是时区不同,比如你的服务端使用UTC时间,但数据库和用户所在地区使用北京时间,导致出现了8个小时的时差。
这个只能你自己配置,因为对大多数服务来说,他们都统一使用UTC。