Datetime settings

This commit is contained in:
Sebastian Lohff 2017-04-15 16:50:12 +02:00
parent 48499d9436
commit c2f4276f78
1 changed files with 8 additions and 4 deletions

View File

@ -20,6 +20,9 @@ TLD_NAMESERVERS = [
'10.100.100.100',
]
DATETIME_FORMAT = "Y-m-d H:i:s"
DATE_FORMAT = "Y-m-d"
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/1.10/howto/deployment/checklist/
@ -114,13 +117,14 @@ AUTH_PASSWORD_VALIDATORS = [
# Internationalization
# https://docs.djangoproject.com/en/1.10/topics/i18n/
LANGUAGE_CODE = 'en-us'
LANGUAGE_CODE = 'en-gb'
TIME_ZONE = 'UTC'
#TIME_ZONE = 'UTC'
TIME_ZONE = 'Europe/Berlin'
USE_I18N = True
USE_I18N = False
USE_L10N = True
USE_L10N = False
USE_TZ = True