#31268: Update Algerian Arabic (ar_DZ) locale formats.
-------------------------------------+-------------------------------------
     Reporter:  infosrabah           |                    Owner:
         Type:                       |  infosrabah
  Cleanup/optimization               |                   Status:  assigned
    Component:                       |                  Version:  master
  Internationalization               |
     Severity:  Normal               |               Resolution:
     Keywords:  Date, Time,          |             Triage Stage:  Accepted
  Datetime, ar, Algeria, DZ          |
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by felixxm):

 * status:  new => assigned
 * component:  Uncategorized => Internationalization
 * version:  3.0 => master
 * owner:  nobody => infosrabah
 * stage:  Unreviewed => Accepted


Old 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.

New description:

 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'`.

 [https://en.wikipedia.org/wiki/Algeria The Wikipedia] describes the French
 language in Algeria (`fr-DZ`) LTR, not the Arabic (`ar-DZ`) that we are
 talking about here.

--

Comment:

 [https://github.com/django/django/pull/12422 PR]

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31268#comment:1>
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/068.eb219c09e9c4b205b818aa765ff5fd59%40djangoproject.com.

Reply via email to