| 1 | # -*- encoding: utf-8 -*- |
| 2 | # This file is distributed under the same license as the Django package. |
| 3 | # |
| 4 | |
| 5 | DATE_FORMAT = r'j \de F \de Y' |
| 6 | TIME_FORMAT = 'H:i:s' |
| 7 | DATETIME_FORMAT = r'j \de F \de Y \a \l\a\s H:i' |
| 8 | YEAR_MONTH_FORMAT = r'F \de Y' |
| 9 | MONTH_DAY_FORMAT = r'j \de F' |
| 10 | SHORT_DATE_FORMAT = 'd/m/Y' |
| 11 | SHORT_DATETIME_FORMAT = 'd/m/Y H:i' |
| 12 | FIRST_DAY_OF_WEEK = 1 # Monday: ISO 8601 |
| 13 | DATE_INPUT_FORMATS = ( |
| 14 | '%d/%m/%Y', '%d/%m/%y', # '25/10/2006', '25/10/06' |
| 15 | '%Y%m%d', # '20061025' |
| 16 | |
| 17 | ) |
| 18 | TIME_INPUT_FORMATS = ( |
| 19 | '%H:%M:%S', '%H:%M', # '14:30:59', '14:30' |
| 20 | ) |
| 21 | DATETIME_INPUT_FORMATS = ( |
| 22 | '%d/%m/%Y %H:%M:%S', |
| 23 | '%d/%m/%Y %H:%M', |
| 24 | '%d/%m/%y %H:%M:%S', |
| 25 | '%d/%m/%y %H:%M', |
| 26 | ) |
| 27 | DECIMAL_SEPARATOR = '.' |
| 28 | THOUSAND_SEPARATOR = ',' |
| 29 | NUMBER_GROUPING = 3 |
| 30 | |