Skip to content

Commit 0db68c8

Browse files
committed
Refs #13047 and #12980 -- Fixed es_AR message format specifiers:
* Reviewed them for missing backslash escaping characters. * Converted all of them to raw strings for consistency. * Made default 'long' output specifiers for dates and/or times more terse and so more suited to real local usage, trying to maintain backward compatiblity with the equally named pre 1.2 technical message IDs where possible. Thanks to Fabián Ramirez for his work on this. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13045 bcc190cf-cafb-0310-a4f2-bffc1f526a37
1 parent 60df742 commit 0db68c8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

django/conf/locale/es_AR/formats.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
# This file is distributed under the same license as the Django package.
33
#
44

5-
DATE_FORMAT = 'j \\de F \\de Y'
6-
TIME_FORMAT = 'H:i:s'
7-
DATETIME_FORMAT = 'j \\de F \\de Y \\a \\l\\a\s H:i'
8-
YEAR_MONTH_FORMAT = 'F \\de Y'
9-
MONTH_DAY_FORMAT = 'j \\de F'
10-
SHORT_DATE_FORMAT = 'd/m/Y'
11-
SHORT_DATETIME_FORMAT = 'd/m/Y H:i'
5+
DATE_FORMAT = r'j N Y'
6+
TIME_FORMAT = r'H:i:s'
7+
DATETIME_FORMAT = r'j N Y H:i:s'
8+
YEAR_MONTH_FORMAT = r'F Y'
9+
MONTH_DAY_FORMAT = r'j \de F'
10+
SHORT_DATE_FORMAT = r'd/m/Y'
11+
SHORT_DATETIME_FORMAT = r'd/m/Y H:i'
1212
FIRST_DAY_OF_WEEK = 0 # 0: Sunday, 1: Monday
1313
DATE_INPUT_FORMATS = (
1414
'%d/%m/%Y', # '31/12/2009'

0 commit comments

Comments
 (0)