1 |
|
---|
2 |
|
---|
3 |
|
---|
4 | DATE_FORMAT = 'j N Y'
|
---|
5 | DATETIME_FORMAT = "j N Y, G:i:s"
|
---|
6 |
|
---|
7 | TIME_FORMAT = 'G:i:s'
|
---|
8 | YEAR_MONTH_FORMAT = 'F Y'
|
---|
9 | MONTH_DAY_FORMAT = 'j F'
|
---|
10 | SHORT_DATE_FORMAT = 'd-m-Y'
|
---|
11 | SHORT_DATETIME_FORMAT = 'd-m-Y P'
|
---|
12 | FIRST_DAY_OF_WEEK = 1 #Monday
|
---|
13 |
|
---|
14 | DATE_INPUT_FORMATS = (
|
---|
15 | '%d-%m-%y', '%d/%m/%y', # '25-10-09' , 25/10/09'
|
---|
16 | '%d-%m-%Y', '%d/%m/%Y', # '25-10-2009' , 25/10/2009'
|
---|
17 | '%d %b %Y', '%d %b, %Y', # '25 Oct 2006', '25 Oct, 2006'
|
---|
18 | '%d %B %Y', '%d %B, %Y', # '25 October 2006', '25 October, 2006'
|
---|
19 | )
|
---|
20 |
|
---|
21 | TIME_INPUT_FORMATS = (
|
---|
22 | '%H:%M:%S', # '14:30:59'
|
---|
23 | '%H:%M', # '14:30'
|
---|
24 | )
|
---|
25 |
|
---|
26 | DATETIME_INPUT_FORMATS = (
|
---|
27 | '%d-%m-%Y %H:%M:%S', # '25-10-2009 14:30:59'
|
---|
28 | '%d-%m-%Y %H:%M', # '25-10-2009 14:30'
|
---|
29 | '%d-%m-%Y', # '25-10-2009'
|
---|
30 | '%d-%m-%y %H:%M:%S', # '25-10-09' 14:30:59'
|
---|
31 | '%d-%m-%y %H:%M', # '25-10-09' 14:30'
|
---|
32 | '%d-%m-%y', # '25-10-09''
|
---|
33 | '%m/%d/%y %H:%M:%S', # '10/25/06 14:30:59'
|
---|
34 | '%m/%d/%y %H:%M', # '10/25/06 14:30'
|
---|
35 | '%m/%d/%Y', # '10/25/06'
|
---|
36 | '%m/%d/%Y %H:%M:%S', # '25-10-2009 14:30:59'
|
---|
37 | '%m/%d/%Y %H:%M', # '25-10-2009 14:30'
|
---|
38 | '%m/%d/%Y',
|
---|
39 | )
|
---|
40 |
|
---|
41 | DECIMAL_SEPARATOR = ','
|
---|
42 | THOUSAND_SEPARATOR = '.'
|
---|
43 | NUMBER_GROUPING = 3
|
---|