Parcourir la source

[Taskserver] Set timezone-aware datetimes to False

Change-Id: I81aa8d3f66d130bb9a6f841d32034190ec09d3a5
Athithyaa Selvam il y a 1 an
Parent
commit
4c3bbcb3fd
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      desktop/core/src/desktop/settings.py

+ 1 - 1
desktop/core/src/desktop/settings.py

@@ -766,7 +766,7 @@ if desktop.conf.TASK_SERVER_V2.ENABLED.get() or desktop.conf.TASK_SERVER_V2.BEAT
   if desktop.conf.TASK_SERVER_V2.BEAT_ENABLED.get():
     INSTALLED_APPS.append('django_celery_beat')
     INSTALLED_APPS.append('timezone_field')
-    USE_TZ = True
+    USE_TZ = False
 
 
 PROMETHEUS_EXPORT_MIGRATIONS = False  # Needs to be there even when enable_prometheus is not enabled