#34241: Django admin not showing seconds for list_display nor readonly
DateTimeField
-------------------------------+--------------------------------------
     Reporter:  Petr DlouhĂ˝    |                    Owner:  nobody
         Type:  New feature    |                   Status:  closed
    Component:  contrib.admin  |                  Version:  4.1
     Severity:  Normal         |               Resolution:  wontfix
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  1
-------------------------------+--------------------------------------

Comment (by Petr DlouhĂ˝):

 {{{
 Agreed, but it's not something all users need for all dates.
 }}}

 Most of Django features are not NEEDED for ALL users.
 When I am digging deeper I see big inconsistency in the fact, that when I
 am editing the field I must enter the date including seconds but then the
 time is otupted in changelist_table or as readonly field without them.

 {{{
 You can always change format for a single field, e.g
 }}}
 That is not very practical nor DRY if I want to make it for every DateTime
 field in admin including external applications.

 Maybe there is some way to override readonly field outputs in Django admin
 I am not aware of or maybe there isn't and creating something like that
 would help to solve other tickets like:
 https://code.djangoproject.com/ticket/30577

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34241#comment:4>
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/010701858737a677-d3b3d572-3812-4648-b4b3-6ea3e215d789-000000%40eu-central-1.amazonses.com.

Reply via email to