Fixed #31268 -- Updated Algerian Arabic (ar_DZ) locale formats.

This commit is contained in:
infosrabah 2020-03-25 18:52:13 +00:00 committed by Mariusz Felisiak
parent 3e7c39f710
commit 25afe59d34
1 changed files with 16 additions and 8 deletions

View File

@ -2,20 +2,28 @@
# #
# The *_FORMAT strings use the Django date format syntax, # The *_FORMAT strings use the Django date format syntax,
# see https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date # see https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j F Y' # 04 نوفمبر 2020 DATE_FORMAT = 'j F Y'
TIME_FORMAT = 'g:i A' TIME_FORMAT = 'H:i'
# DATETIME_FORMAT = DATETIME_FORMAT = 'j F Y H:i'
YEAR_MONTH_FORMAT = 'F Y' YEAR_MONTH_FORMAT = 'F Y'
MONTH_DAY_FORMAT = 'j F' MONTH_DAY_FORMAT = 'j F'
SHORT_DATE_FORMAT = 'd/m/Y' SHORT_DATE_FORMAT = 'j F Y'
# SHORT_DATETIME_FORMAT = SHORT_DATETIME_FORMAT = 'j F Y H:i'
FIRST_DAY_OF_WEEK = 0 # Sunday FIRST_DAY_OF_WEEK = 0 # Sunday
# The *_INPUT_FORMATS strings use the Python strftime format syntax, # The *_INPUT_FORMATS strings use the Python strftime format syntax,
# see https://docs.python.org/library/datetime.html#strftime-strptime-behavior # see https://docs.python.org/library/datetime.html#strftime-strptime-behavior
# DATE_INPUT_FORMATS = DATE_INPUT_FORMATS = [
# TIME_INPUT_FORMATS = '%Y/%m/%d', # '2006/10/25'
# DATETIME_INPUT_FORMATS = ]
TIME_INPUT_FORMATS = [
'%H:%M', # '14:30
'%H:%M:%S', # '14:30:59'
]
DATETIME_INPUT_FORMATS = [
'%Y/%m/%d %H:%M', # '2006/10/25 14:30'
'%Y/%m/%d %H:%M:%S', # '2006/10/25 14:30:59'
]
DECIMAL_SEPARATOR = ',' DECIMAL_SEPARATOR = ','
THOUSAND_SEPARATOR = '.' THOUSAND_SEPARATOR = '.'
NUMBER_GROUPING = 3 NUMBER_GROUPING = 3