Skip to content

评论后时间显示为8小时 #826

Answered by Mister-Hope
xlenco asked this question in Q&A
Discussion options

You must be logged in to vote

这个很大可能的原因是时区不同,比如你的服务端使用UTC时间,但数据库和用户所在地区使用北京时间,导致出现了8个小时的时差。

这个只能你自己配置,因为对大多数服务来说,他们都统一使用UTC。

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
4 replies
@xlenco
Comment options

@lizheming
Comment options

@xlenco
Comment options

@lizheming
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@elainecyx
Comment options

@lizheming
Comment options

@Mister-Hope
Comment options

@lizheming
Comment options

Answer selected by Mister-Hope
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants