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。

原文地址:https://www.cnblogs.com/jiqing9006/p/10471474.html