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

修改/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。

posted @ 2019-03-04 16:27  TBHacker  阅读(790)  评论(0编辑  收藏  举报