Browse Source

Datetime settings

Sebastian Lohff 4 years ago
parent
commit
c2f4276f78
1 changed files with 8 additions and 4 deletions
  1. 8
    4
      dnmgmt/settings.py

+ 8
- 4
dnmgmt/settings.py View File

@@ -20,6 +20,9 @@ TLD_NAMESERVERS = [
20 20
 	'10.100.100.100',
21 21
 ]
22 22
 
23
+DATETIME_FORMAT = "Y-m-d H:i:s"
24
+DATE_FORMAT = "Y-m-d"
25
+
23 26
 # Quick-start development settings - unsuitable for production
24 27
 # See https://docs.djangoproject.com/en/1.10/howto/deployment/checklist/
25 28
 
@@ -114,13 +117,14 @@ AUTH_PASSWORD_VALIDATORS = [
114 117
 # Internationalization
115 118
 # https://docs.djangoproject.com/en/1.10/topics/i18n/
116 119
 
117
-LANGUAGE_CODE = 'en-us'
120
+LANGUAGE_CODE = 'en-gb'
118 121
 
119
-TIME_ZONE = 'UTC'
122
+#TIME_ZONE = 'UTC'
123
+TIME_ZONE = 'Europe/Berlin'
120 124
 
121
-USE_I18N = True
125
+USE_I18N = False
122 126
 
123
-USE_L10N = True
127
+USE_L10N = False
124 128
 
125 129
 USE_TZ = True
126 130
 

Loading…
Cancel
Save