Changes between Version 1 and Version 4 of Ticket #31268


Ignore:
Timestamp:
03/27/2020 12:51:37 AM (3 months ago)
Author:
felixxm
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31268 – Description

    v1 v4  
    1 Hi,
    2 
    3 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'`.
    4 The actual locale ar-DZ formats are also missing (pull request pending):
     1Based on the way date are represented in Algeria, the actual `SHORT_DATE_FORMAT` is  `'d/m/Y'` but the correct format is `'j F Y'`.
     2The actual locale `ar-DZ` formats are also missing (pull request pending):
    53{{{
    6 SHORT_DATE_FORMAT = 'Y/m/d'
     4SHORT_DATE_FORMAT = 'j F Y'
     5SHORT_DATETIME_FORMAT = 'j F Y H:i'
    76
    87DATE_INPUT_FORMATS = [
    9     '%Y/%m/%d', '%y/%m/%d',  # '2006/10/25', '06/10/25'
     8     '%Y/%m/%d',  # '2006/10/25'
    109]
    1110TIME_INPUT_FORMATS = [
     
    2423-----------
    2524
    26 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'`.
     25Even 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 `'j F Y'`.
    2726
    2827[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.
     28
     29Abbreviations of months don't exist in Algerian Arabic that's why we need to use `N` in short formats instead of `F`.
Back to Top