feat [back]: easier date-time format

This commit is contained in:
Alice 2022-05-29 22:46:45 +02:00
parent b554e7c696
commit ce32a2d653

View file

@ -93,15 +93,11 @@ AUTH_PASSWORD_VALIDATORS = [
# https://docs.djangoproject.com/en/3.2/topics/i18n/
LANGUAGE_CODE = "fr"
TIME_ZONE = "UTC"
DATETIME_FORMAT = "%Y-%m-%dT%H:%M"
TIME_ZONE = "Europe/Paris"
USE_I18N = True
USE_L10N = True
USE_TZ = True
# ManifestStaticFilesStorage is recommended in production, to prevent outdated
# JavaScript / CSS assets being served from cache (e.g. after a Wagtail upgrade).
# See https://docs.djangoproject.com/en/3.2/ref/contrib/staticfiles/#manifeststaticfilesstorage