From c2f4276f7889c3fb630c0f763c7b3630f61665ed Mon Sep 17 00:00:00 2001 From: Sebastian Lohff Date: Sat, 15 Apr 2017 16:50:12 +0200 Subject: [PATCH] Datetime settings --- dnmgmt/settings.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/dnmgmt/settings.py b/dnmgmt/settings.py index ca9d2e9..f8e5295 100644 --- a/dnmgmt/settings.py +++ b/dnmgmt/settings.py @@ -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