diff options
| author | infosrabah <34539758+infosrabah@users.noreply.github.com> | 2020-03-25 18:52:13 +0000 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-04-15 09:51:56 +0200 |
| commit | 25afe59d342ac0fb77f523b8da42aa166c6e1503 (patch) | |
| tree | c8709bae6b98cc9f3955d4a73d18925f62b8aacd | |
| parent | 3e7c39f710ec1895611fa1b337423742eebd0da1 (diff) | |
Fixed #31268 -- Updated Algerian Arabic (ar_DZ) locale formats.
| -rw-r--r-- | django/conf/locale/ar_DZ/formats.py | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/django/conf/locale/ar_DZ/formats.py b/django/conf/locale/ar_DZ/formats.py index 23b1c20349..e091e1788d 100644 --- a/django/conf/locale/ar_DZ/formats.py +++ b/django/conf/locale/ar_DZ/formats.py @@ -2,20 +2,28 @@ # # The *_FORMAT strings use the Django date format syntax, # see https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date -DATE_FORMAT = 'j F Y' # 04 نوفمبر 2020 -TIME_FORMAT = 'g:i A' -# DATETIME_FORMAT = +DATE_FORMAT = 'j F Y' +TIME_FORMAT = 'H:i' +DATETIME_FORMAT = 'j F Y H:i' YEAR_MONTH_FORMAT = 'F Y' MONTH_DAY_FORMAT = 'j F' -SHORT_DATE_FORMAT = 'd/m/Y' -# SHORT_DATETIME_FORMAT = +SHORT_DATE_FORMAT = 'j F Y' +SHORT_DATETIME_FORMAT = 'j F Y H:i' FIRST_DAY_OF_WEEK = 0 # Sunday # The *_INPUT_FORMATS strings use the Python strftime format syntax, # see https://docs.python.org/library/datetime.html#strftime-strptime-behavior -# DATE_INPUT_FORMATS = -# TIME_INPUT_FORMATS = -# DATETIME_INPUT_FORMATS = +DATE_INPUT_FORMATS = [ + '%Y/%m/%d', # '2006/10/25' +] +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 = ',' THOUSAND_SEPARATOR = '.' NUMBER_GROUPING = 3 |
