#31268: Algerian Arabic (ar_DZ) locale formats
-------------------------------------+-------------------------------------
Reporter: | Owner: nobody
infosrabah |
Type: | Status: new
Cleanup/optimization |
Component: | Version: 3.0
Uncategorized | Keywords: Date, Time,
Severity: Normal | Datetime, ar, Algeria, DZ
Triage Stage: | Has patch: 1
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Hi,
Based on the way date are represented in algeria, the actual
SHORT_DATE_FORMAT is 'd/m/Y' but he correct foramt is 'Y/m/d'.
The actual locale ar-DZ formats are also missing (pull request pending )
:
SHORT_DATE_FORMAT = 'Y/m/d'
DATE_INPUT_FORMATS = [
'%Y/%m/%d', '%y/%m/%d', # '2006/10/25', '06/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'
]
NUMBER_GROUPING = 3
-----------
The actual Date format are not the exact représentation of a dates in the
country.
--
Ticket URL: <https://code.djangoproject.com/ticket/31268>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/053.f4257cf25c1dee8f33d9055ee1f62abd%40djangoproject.com.