zl程序教程

您现在的位置是:首页 >  其他

当前栏目

Seafile 文件访问日志时间不一致问题

文件日志 时间 访问 一致 问题
2023-09-27 14:24:29 时间

修改/seafile-server-latest/seahub/seahub/setting.py

# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
# although not all choices may be available on all operating systems.
# If running in a Windows environment this must be set to the same as your
# system time zone.
TIME_ZONE = 'Asia/Shanghai'

之前的TIME_ZONE = 'UTC'

比国内的时间要差8个小时。

重启seafile。