Opened 5 years ago

Last modified 5 years ago

#31268 closed Cleanup/optimization

Algerian Arabic (ar_DZ) locale formats — at Initial Version

Reported by: infosrabah Owned by: nobody
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

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.

Change History (1)

by infosrabah, 5 years ago

Attachment: formats.py added

correct format ar-DZ locale for Algeria country

Note: See TracTickets for help on using tickets.
Back to Top