From 9023f25278e60bb2da64cd8fddb243ad2137d400 Mon Sep 17 00:00:00 2001 From: Emin Mastizada Date: Mon, 19 Sep 2016 15:23:51 +0300 Subject: [PATCH] Removed invalid year character from datetime format in Azerbaijani locale. Azerbaijani switched to Latin letters after Soviets and doesn't add il when writing date time formats. --- django/conf/locale/az/formats.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/django/conf/locale/az/formats.py b/django/conf/locale/az/formats.py index 07b1181285..ceb8165d65 100644 --- a/django/conf/locale/az/formats.py +++ b/django/conf/locale/az/formats.py @@ -5,10 +5,10 @@ from __future__ import unicode_literals # The *_FORMAT strings use the Django date format syntax, # see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date -DATE_FORMAT = 'j E Y г.' +DATE_FORMAT = 'j E Y' TIME_FORMAT = 'G:i' -DATETIME_FORMAT = 'j E Y г. G:i' -YEAR_MONTH_FORMAT = 'F Y г.' +DATETIME_FORMAT = 'j E Y, G:i' +YEAR_MONTH_FORMAT = 'F Y' MONTH_DAY_FORMAT = 'j F' SHORT_DATE_FORMAT = 'd.m.Y' SHORT_DATETIME_FORMAT = 'd.m.Y H:i'