瀏覽代碼

HUE-1673 Make datetime fields unaware of timezones

Abraham Elmahrek 12 年之前
父節點
當前提交
45f4e07
共有 1 個文件被更改,包括 1 次插入1 次删除
  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.