File tree Expand file tree Collapse file tree 1 file changed +16
-8
lines changed Expand file tree Collapse file tree 1 file changed +16
-8
lines changed Original file line number Diff line number Diff line change 22#
33# The *_FORMAT strings use the Django date format syntax,
44# see https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
5- DATE_FORMAT = 'j F Y' # 04 نوفمبر 2020
6- TIME_FORMAT = 'g:i A '
7- # DATETIME_FORMAT =
5+ DATE_FORMAT = 'j F Y'
6+ TIME_FORMAT = 'H:i '
7+ DATETIME_FORMAT = 'j F Y H:i'
88YEAR_MONTH_FORMAT = 'F Y'
99MONTH_DAY_FORMAT = 'j F'
10- SHORT_DATE_FORMAT = 'd/m/ Y'
11- # SHORT_DATETIME_FORMAT =
10+ SHORT_DATE_FORMAT = 'j F Y'
11+ SHORT_DATETIME_FORMAT = 'j F Y H:i'
1212FIRST_DAY_OF_WEEK = 0 # Sunday
1313
1414# The *_INPUT_FORMATS strings use the Python strftime format syntax,
1515# see https://docs.python.org/library/datetime.html#strftime-strptime-behavior
16- # DATE_INPUT_FORMATS =
17- # TIME_INPUT_FORMATS =
18- # DATETIME_INPUT_FORMATS =
16+ DATE_INPUT_FORMATS = [
17+ '%Y/%m/%d' , # '2006/10/25'
18+ ]
19+ TIME_INPUT_FORMATS = [
20+ '%H:%M' , # '14:30
21+ '%H:%M:%S' , # '14:30:59'
22+ ]
23+ DATETIME_INPUT_FORMATS = [
24+ '%Y/%m/%d %H:%M' , # '2006/10/25 14:30'
25+ '%Y/%m/%d %H:%M:%S' , # '2006/10/25 14:30:59'
26+ ]
1927DECIMAL_SEPARATOR = ','
2028THOUSAND_SEPARATOR = '.'
2129NUMBER_GROUPING = 3
You can’t perform that action at this time.
0 commit comments