Ticket #16349: 16349-patch.diff

File 16349-patch.diff, 754 bytes (added by semente, 4 years ago)

Better one.

  • django/conf/locale/pt_BR/formats.py

     
    1616# The *_INPUT_FORMATS strings use the Python strftime format syntax,
    1717# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
    1818DATE_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'
    2020    # '%d de %b de %Y', '%d de %b, %Y',   # '25 de Out de 2006', '25 Out, 2006'
    2121    # '%d de %B de %Y', '%d de %B, %Y',   # '25 de Outubro de 2006', '25 de Outubro, 2006'
    2222)
Back to Top