Преглед изворни кода

[Taskserver] Set timezone-aware datetimes to False

Change-Id: I81aa8d3f66d130bb9a6f841d32034190ec09d3a5
Athithyaa Selvam пре 1 година
родитељ
комит
4c3bbcb3fd
1 измењених фајлова са 1 додато и 1 уклоњено
  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