From 47dd177b7e1bac0ef7ee2628cdfabfdc4ef93a2f Mon Sep 17 00:00:00 2001 From: CaptainB Date: Mon, 21 Jul 2025 18:43:43 +0800 Subject: [PATCH] fix: update CELERY_timezone to use CONFIG.get_time_zone() for improved timezone handling --- apps/maxkb/settings/lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/maxkb/settings/lib.py b/apps/maxkb/settings/lib.py index 7f299fcb1..135ea3954 100644 --- a/apps/maxkb/settings/lib.py +++ b/apps/maxkb/settings/lib.py @@ -68,7 +68,7 @@ else: } } CELERY_result_backend = CELERY_BROKER_URL -CELERY_timezone = CONFIG.TIME_ZONE +CELERY_timezone = CONFIG.get_time_zone() CELERY_ENABLE_UTC = False CELERY_task_serializer = 'pickle' CELERY_result_serializer = 'pickle'