diff --git a/app/celery/celery.py b/app/celery/celery.py index b1758f73c0..be5a5593aa 100644 --- a/app/celery/celery.py +++ b/app/celery/celery.py @@ -48,6 +48,7 @@ def init_app(self, app): "beat_schedule": app.config["CELERYBEAT_SCHEDULE"], "imports": app.config["CELERY_IMPORTS"], "task_serializer": app.config["CELERY_TASK_SERIALIZER"], + "enable_utc": app.config["CELERY_ENABLE_UTC"], "timezone": app.config["CELERY_TIMEZONE"], "broker_transport_options": app.config["BROKER_TRANSPORT_OPTIONS"], "task_queues": app.config["CELERY_QUEUES"], diff --git a/app/config.py b/app/config.py index 10ec7f5a6f..d760fbb1d4 100644 --- a/app/config.py +++ b/app/config.py @@ -359,7 +359,7 @@ class Config(object): "queue_name_prefix": NOTIFICATION_QUEUE_PREFIX, } CELERY_ENABLE_UTC = True - CELERY_TIMEZONE = os.getenv("TIMEZONE", "America/Toronto") + CELERY_TIMEZONE = os.getenv("TIMEZONE", "UTC") CELERY_ACCEPT_CONTENT = ["json"] CELERY_TASK_SERIALIZER = "json" CELERY_IMPORTS = (