Parcourir la source

HUE-1673 Make datetime fields unaware of timezones

Abraham Elmahrek il y a 12 ans
Parent
commit
45f4e0743e
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

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