Răsfoiți Sursa

HUE-1673 Make datetime fields unaware of timezones

Abraham Elmahrek 12 ani în urmă
părinte
comite
45f4e07
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      desktop/core/src/desktop/settings.py

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

@@ -79,7 +79,7 @@ USE_I18N = True
 USE_L10N = True
 
 # If you set this to False, Django will not use timezone-aware datetimes.
-USE_TZ = True
+USE_TZ = False
 
 # URL that handles the media served from MEDIA_ROOT. Make sure to use a
 # trailing slash.