4 | | # DATE_FORMAT = |
5 | | # TIME_FORMAT = |
6 | | # DATETIME_FORMAT = |
7 | | # YEAR_MONTH_FORMAT = |
8 | | # MONTH_DAY_FORMAT = |
9 | | # SHORT_DATE_FORMAT = |
10 | | # SHORT_DATETIME_FORMAT = |
11 | | # FIRST_DAY_OF_WEEK = |
12 | | # DATE_INPUT_FORMATS = |
13 | | # TIME_INPUT_FORMATS = |
14 | | # DATETIME_INPUT_FORMATS = |
15 | | # DECIMAL_SEPARATOR = |
16 | | # THOUSAND_SEPARATOR = |
17 | | # NUMBER_GROUPING = |
| 4 | DATE_FORMAT = 'j \\de N \\de Y' |
| 5 | TIME_FORMAT = 'H:i' |
| 6 | DATETIME_FORMAT = 'j \\de N \\de Y à\\s H:i' |
| 7 | YEAR_MONTH_FORMAT = 'F \\de Y' |
| 8 | MONTH_DAY_FORMAT = 'j \\de F' |
| 9 | SHORT_DATE_FORMAT = 'd/m/Y' |
| 10 | SHORT_DATETIME_FORMAT = 'd/m/Y H:i' |
| 11 | FIRST_DAY_OF_WEEK = 0 # Sunday |
| 12 | DATE_INPUT_FORMATS = ( |
| 13 | '%Y-%m-%d', '%d/%m/%Y', '%d/%m/%y', # '2006-10-25', '25/10/2006', '25/10/06' |
| 14 | '%d de %b de %Y', '%d de %b, %Y', # '25 de Out de 2006', '25 Out, 2006' |
| 15 | '%d de %B de %Y', '%d de %B, %Y', # '25 de Outubro de 2006', '25 de Outubro, 2006' |
| 16 | ) |
| 17 | TIME_INPUT_FORMATS = ( |
| 18 | '%H:%M:%S', # '14:30:59' |
| 19 | '%H:%M', # '14:30' |
| 20 | ) |
| 21 | DATETIME_INPUT_FORMATS = ( |
| 22 | '%Y-%m-%d %H:%M:%S', # '2006-10-25 14:30:59' |
| 23 | '%Y-%m-%d %H:%M', # '2006-10-25 14:30' |
| 24 | '%Y-%m-%d', # '2006-10-25' |
| 25 | '%d/%m/%Y %H:%M:%S', # '25/10/2006 14:30:59' |
| 26 | '%d/%m/%Y %H:%M', # '25/10/2006 14:30' |
| 27 | '%d/%m/%Y', # '25/10/2006' |
| 28 | '%d/%m/%y %H:%M:%S', # '25/10/06 14:30:59' |
| 29 | '%d/%m/%y %H:%M', # '25/10/06 14:30' |
| 30 | '%d/%m/%y', # '25/10/06' |
| 31 | ) |
| 32 | DECIMAL_SEPARATOR = ',' |
| 33 | THOUSAND_SEPARATOR = '.' |
| 34 | NUMBER_GROUPING = 3 |