Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #16349 -- Fixed Brazilian localization formats. Thanks, Claude …

…Paroz, semente and Guiljerme Gondim.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16724 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 414c762c3abfebb2670a3b26aba7028d62303cfe 1 parent 16bb9c5
Jannis Leidel authored

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

  1. 6  django/conf/locale/pt_BR/formats.py
6  django/conf/locale/pt_BR/formats.py
@@ -4,9 +4,9 @@
4 4
 
5 5
 # The *_FORMAT strings use the Django date format syntax,
6 6
 # see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
7  
-DATE_FORMAT = r'j \de N \de Y'
  7
+DATE_FORMAT = r'j \de F \de Y'
8 8
 TIME_FORMAT = 'H:i'
9  
-DATETIME_FORMAT = r'j \de N \de Y à\s H:i'
  9
+DATETIME_FORMAT = r'j \de F \de Y à\s H:i'
10 10
 YEAR_MONTH_FORMAT = r'F \de Y'
11 11
 MONTH_DAY_FORMAT = r'j \de F'
12 12
 SHORT_DATE_FORMAT = 'd/m/Y'
@@ -16,7 +16,7 @@
16 16
 # The *_INPUT_FORMATS strings use the Python strftime format syntax,
17 17
 # see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
18 18
 DATE_INPUT_FORMATS = (
19  
-    '%Y-%m-%d', '%d/%m/%Y', '%d/%m/%y', # '2006-10-25', '25/10/2006', '25/10/06'
  19
+    '%d/%m/%Y', '%d/%m/%y', '%Y-%m-%d', # '25/10/2006', '25/10/06', '2006-10-25'
20 20
     # '%d de %b de %Y', '%d de %b, %Y',   # '25 de Out de 2006', '25 Out, 2006'
21 21
     # '%d de %B de %Y', '%d de %B, %Y',   # '25 de Outubro de 2006', '25 de Outubro, 2006'
22 22
 )

0 notes on commit 414c762

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