1 | # -*- encoding: utf-8 -*-
|
---|
2 | # This file is distributed under the same license as the Django package.
|
---|
3 | #
|
---|
4 |
|
---|
5 | DATE_FORMAT = 'j F Y'
|
---|
6 | TIME_FORMAT = 'H:i:s'
|
---|
7 | DATETIME_FORMAT = 'j F Y H:i:s'
|
---|
8 | YEAR_MONTH_FORMAT = 'F Y'
|
---|
9 | MONTH_DAY_FORMAT = 'j F'
|
---|
10 | SHORT_DATE_FORMAT = 'j N Y'
|
---|
11 | SHORT_DATETIME_FORMAT = 'j N Y H:i:s'
|
---|
12 | FIRST_DAY_OF_WEEK = 1 # Monday
|
---|
13 | DATE_INPUT_FORMATS = (
|
---|
14 | '%d/%m/%Y', '%d/%m/%y', # '25/10/2006', '25/10/06'
|
---|
15 | '%d.%m.%Y', '%d.%m.%y', # Swiss (fr_CH), '25.10.2006', '25.10.06'
|
---|
16 | '%Y-%m-%d', '%y-%m-%d', # '2006-10-25', '06-10-25'
|
---|
17 | '%d %B %Y', '%d %b %Y', # '25 octobre 2006', '25 oct. 2006'
|
---|
18 | )
|
---|
19 | TIME_INPUT_FORMATS = (
|
---|
20 | '%H:%M:%S', # '14:30:59'
|
---|
21 | '%H:%M', # '14:30'
|
---|
22 | )
|
---|
23 | DATETIME_INPUT_FORMATS = (
|
---|
24 | '%d/%m/%Y %H:%M:%S', # '25/10/2006 14:30:59'
|
---|
25 | '%d/%m/%Y %H:%M', # '25/10/2006 14:30'
|
---|
26 | '%d/%m/%Y', # '25/10/2006'
|
---|
27 | '%d.%m.%Y %H:%M:%S', # Swiss (fr_CH), '25.10.2006 14:30:59'
|
---|
28 | '%d.%m.%Y %H:%M', # Swiss (fr_CH), '25.10.2006 14:30'
|
---|
29 | '%d.%m.%Y', # Swiss (fr_CH), '25.10.2006'
|
---|
30 | '%Y-%m-%d %H:%M:%S', # '2006-10-25 14:30:59'
|
---|
31 | '%Y-%m-%d %H:%M', # '2006-10-25 14:30'
|
---|
32 | '%Y-%m-%d', # '2006-10-25'
|
---|
33 | )
|
---|
34 | DECIMAL_SEPARATOR = ','
|
---|
35 | THOUSAND_SEPARATOR = ' '
|
---|
36 | NUMBER_GROUPING = 3
|
---|