Browse Source

HUE-1673 Make datetime fields unaware of timezones

Abraham Elmahrek 12 năm trước cách đây
mục cha
commit
45f4e07
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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.