fix: USE_TZ=False 统一使用北京时间,修复 recover_stuck_tasks 时区比较错误
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 3m3s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 3m3s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
1e76052c64
commit
95bdb0a6e8
@ -189,7 +189,7 @@ CELERY_BEAT_SCHEDULE = {
|
|||||||
LANGUAGE_CODE = 'zh-hans'
|
LANGUAGE_CODE = 'zh-hans'
|
||||||
TIME_ZONE = 'Asia/Shanghai'
|
TIME_ZONE = 'Asia/Shanghai'
|
||||||
USE_I18N = True
|
USE_I18N = True
|
||||||
USE_TZ = True
|
USE_TZ = False
|
||||||
|
|
||||||
STATIC_URL = 'static/'
|
STATIC_URL = 'static/'
|
||||||
STATIC_ROOT = BASE_DIR / 'staticfiles'
|
STATIC_ROOT = BASE_DIR / 'staticfiles'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user