Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit 0db68c81230be304aa0c581b84bc35857320aa04 1 parent 60df742
Ramiro Morales authored

Showing 1 changed file with 7 additions and 7 deletions. Show diff stats Hide diff stats

  1. 14  django/conf/locale/es_AR/formats.py
14  django/conf/locale/es_AR/formats.py
@@ -2,13 +2,13 @@
2 2
 # This file is distributed under the same license as the Django package.
3 3
 #
4 4
 
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'
12 12
 FIRST_DAY_OF_WEEK = 0 # 0: Sunday, 1: Monday
13 13
 DATE_INPUT_FORMATS = (
14 14
     '%d/%m/%Y', # '31/12/2009'

0 notes on commit 0db68c8

Please sign in to comment.
Something went wrong with that request. Please try again.