Time zone django

0

The dates I keep return the month in English, as a change or reformat that date so that it remains in Spanish

TIME_ZONE = 'America/Bogota'
# https://docs.djangoproject.com/en/dev/ref/settings/#language-code
LANGUAGE_CODE = 'es-co'
# https://docs.djangoproject.com/en/dev/ref/settings/#site-id
SITE_ID = 1
# https://docs.djangoproject.com/en/dev/ref/settings/#use-i18n
USE_I18N = True
# https://docs.djangoproject.com/en/dev/ref/settings/#use-l10n
USE_L10N = True
# https://docs.djangoproject.com/en/dev/ref/settings/#use-tz
USE_TZ = True

('%B %d %Y')
    
asked by Monpa 26.07.2018 в 18:41
source

0 answers