2013-03-29 23:54:00 +08:00
|
|
|
# This file is distributed under the same license as the Django package.
|
|
|
|
#
|
|
|
|
DATE_FORMAT = r"j \d\e F \d\e Y"
|
2014-09-11 20:43:49 +08:00
|
|
|
TIME_FORMAT = "H:i"
|
2013-03-29 23:54:00 +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"
|
|
|
|
SHORT_DATE_FORMAT = "d/m/Y"
|
|
|
|
SHORT_DATETIME_FORMAT = "d/m/Y H:i"
|
2013-11-03 05:02:56 +08:00
|
|
|
FIRST_DAY_OF_WEEK = 0 # Sunday
|
2013-03-29 23:54:00 +08:00
|
|
|
|
2015-01-22 00:55:57 +08:00
|
|
|
DATE_INPUT_FORMATS = [
|
2013-03-29 23:54:00 +08:00
|
|
|
"%d/%m/%Y", # '31/12/2009'
|
|
|
|
"%d/%m/%y", # '31/12/09'
|
2015-01-22 00:55:57 +08:00
|
|
|
]
|
|
|
|
DATETIME_INPUT_FORMATS = [
|
2013-03-29 23:54:00 +08:00
|
|
|
"%d/%m/%Y %H:%M:%S",
|
|
|
|
"%d/%m/%Y %H:%M:%S.%f",
|
|
|
|
"%d/%m/%Y %H:%M",
|
|
|
|
"%d/%m/%y %H:%M:%S",
|
|
|
|
"%d/%m/%y %H:%M:%S.%f",
|
|
|
|
"%d/%m/%y %H:%M",
|
2015-01-22 00:55:57 +08:00
|
|
|
]
|
2013-03-29 23:54:00 +08:00
|
|
|
|
|
|
|
DECIMAL_SEPARATOR = "."
|
|
|
|
THOUSAND_SEPARATOR = ","
|
|
|
|
NUMBER_GROUPING = 3
|