#36205: Date format issue in Django 5.1.6
-------------------------------------+-------------------------------------
     Reporter:  Li,Qianqian          |                    Owner:  (none)
         Type:  Uncategorized        |                   Status:  closed
    Component:                       |                  Version:  5.1
  Internationalization               |
     Severity:  Normal               |               Resolution:  duplicate
     Keywords:  Date format issue    |             Triage Stage:
  in Django 5.1.6                    |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):

 * component:  Uncategorized => Internationalization
 * resolution:   => duplicate
 * status:  new => closed

Comment:

 This is also the case for Django 5.0.x, as it has been the case since
 `USE_L10N` was removed in Django 5.0
 I believe this is a duplicate of #35990, in that the overridden date
 formatting settings are ignored when `USE_I18N` is True.

 This behavior is by design and well documented, for example
 https://docs.djangoproject.com/en/5.1/ref/settings/#datetime-format

 > Note that the locale-dictated format has higher precedence and will be
 applied instead.

 Please start a discussion on the
 [https://forum.djangoproject.com/c/internals/i18n/14 Django Forum] if you
 believe this behavior should change.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36205#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 visit 
https://groups.google.com/d/msgid/django-updates/01070195288f34b1-701150b3-8c6c-4c54-b9ac-cda8f1f8ebc5-000000%40eu-central-1.amazonses.com.

Reply via email to