#35314: Django 5 breaks value of Date field rendering correctly in template
     Reporter:  Michael    |                    Owner:  nobody
         Type:  Bug        |                   Status:  closed
    Component:  Forms      |                  Version:  5.0
     Severity:  Normal     |               Resolution:  duplicate
     Keywords:  form date  |             Triage Stage:  Unreviewed
    Has patch:  0          |      Needs documentation:  0
  Needs tests:  0          |  Patch needs improvement:  0
Easy pickings:  0          |                    UI/UX:  0
Comment (by Michael):

 Replying to [comment:4 David Sanders]:
 > Yep you need to read the full comment:
 > > Have you tried setting the DATE_FORMAT in your custom language format
 file as per: ‚Äčhttps://docs.djangoproject.com/en/5.0/topics/i18n/formatting
 /#creating-custom-format-files ?
 > whereas you're using settings

 Thanks for the elaborating so I can try see it from your perspective. I
 can set a custom language format file, but surely when it comes to the
 HTML date value on forms, it should not depend on the language code, it
 should *always* be `YYYY/MM/DD`, anything else is invalid. So is it not a
 bug to make it depend on a custom format language code?
Ticket URL: <https://code.djangoproject.com/ticket/35314#comment:5>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 

Reply via email to