Datetime settings
This commit is contained in:
parent
48499d9436
commit
c2f4276f78
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue