Opened 5 years ago
Last modified 5 years ago
#31268 closed Cleanup/optimization
Update Algerian Arabic (ar_DZ) locale formats. — at Version 1
Reported by: | infosrabah | Owned by: | infosrabah |
---|---|---|---|
Component: | Internationalization | Version: | dev |
Severity: | Normal | Keywords: | Date, Time, Datetime, ar, Algeria, DZ |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
Hi,
Based on the way date are represented in Algeria, the actual SHORT_DATE_FORMAT
is 'd/m/Y'
but the correct format 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 representation of a dates in the country.
Even if most RTL other countries are using or still using 'd/m/Y '
, Algeria is not. For every date on any resource (News, Official communications, News paper) that using Arabic as a language, the Date format is 'Y/m/d'
.
The Wikipedia describes the French language in Algeria (fr-DZ
) LTR, not the Arabic (ar-DZ
) that we are talking about here.
Change History (2)
by , 5 years ago
Attachment: | formats.py added |
---|
comment:1 by , 5 years ago
Component: | Uncategorized → Internationalization |
---|---|
Description: | modified (diff) |
Owner: | changed from | to
Status: | new → assigned |
Summary: | Algerian Arabic (ar_DZ) locale formats → Update Algerian Arabic (ar_DZ) locale formats. |
Triage Stage: | Unreviewed → Accepted |
Version: | 3.0 → master |
correct format ar-DZ locale for Algeria country