Ticket #16349: date-input-pt-br.patch

File date-input-pt-br.patch, 728 bytes (added by Guiljerme Gondim <semente+django@…>, 13 years ago)
  • 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', # '25/10/2006', '25/10/06'
    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