2011-02-06 14:06:29 +08:00
|
|
|
# This file is distributed under the same license as the Django package.
|
|
|
|
#
|
2012-02-10 09:13:29 +08:00
|
|
|
DATE_FORMAT = r'j \d\e F \d\e Y'
|
2014-09-11 20:43:49 +08:00
|
|
|
TIME_FORMAT = 'H:i'
|
2012-02-10 09:13:29 +08:00
|
|
|
DATETIME_FORMAT = r'j \d\e F \d\e Y \a \l\a\s H:i'
|
|
|
|
YEAR_MONTH_FORMAT = r'F \d\e Y'
|
|
|
|
MONTH_DAY_FORMAT = r'j \d\e F'
|
2011-02-06 14:06:29 +08:00
|
|
|
SHORT_DATE_FORMAT = 'd/m/Y'
|
|
|
|
SHORT_DATETIME_FORMAT = 'd/m/Y H:i'
|
2012-02-10 09:13:29 +08:00
|
|
|
FIRST_DAY_OF_WEEK = 1 # Monday: ISO 8601
|
2015-01-22 00:55:57 +08:00
|
|
|
DATE_INPUT_FORMATS = [
|
2012-02-10 09:13:29 +08:00
|
|
|
'%d/%m/%Y', '%d/%m/%y', # '25/10/2006', '25/10/06'
|
|
|
|
'%Y%m%d', # '20061025'
|
2015-01-22 00:55:57 +08:00
|
|
|
]
|
|
|
|
DATETIME_INPUT_FORMATS = [
|
2011-02-06 14:06:29 +08:00
|
|
|
'%d/%m/%Y %H:%M:%S',
|
2013-03-03 02:04:23 +08:00
|
|
|
'%d/%m/%Y %H:%M:%S.%f',
|
2011-02-06 14:06:29 +08:00
|
|
|
'%d/%m/%Y %H:%M',
|
|
|
|
'%d/%m/%y %H:%M:%S',
|
2013-03-03 02:04:23 +08:00
|
|
|
'%d/%m/%y %H:%M:%S.%f',
|
2011-02-06 14:06:29 +08:00
|
|
|
'%d/%m/%y %H:%M',
|
2015-01-22 00:55:57 +08:00
|
|
|
]
|
2012-02-10 02:58:17 +08:00
|
|
|
DECIMAL_SEPARATOR = '.' # ',' is also official (less common): NOM-008-SCFI-2002
|
2018-03-13 10:07:54 +08:00
|
|
|
THOUSAND_SEPARATOR = ','
|
2011-02-06 14:06:29 +08:00
|
|
|
NUMBER_GROUPING = 3
|