Skip to content
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

Feature: Add timezone offset config. #53

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

i2Echo
Copy link

@i2Echo i2Echo commented Mar 10, 2024

增加 timezone_offset 配置项,解决用户与部署服务器所在时区不一致的问题。

配置项名称:timezone_offset (服务器所在时区偏移, 默认为0)
备注:计算方法为当前时区减去服务器时区,可为负数,如:用户当前时区GMT+8,服务器所在时区为GMT-4,则偏移量为 +8-(-4)=12. 假如用户当前时区为GMT-4,服务器所在时区为GMT+8,则偏移量为-4-(+8)=-12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant