#20663: Admin Now and Today buttons use confusing time / timezone
-------------------------------+--------------------
     Reporter:  imfletcher     |      Owner:  nobody
         Type:  Bug            |     Status:  new
    Component:  contrib.admin  |    Version:  1.5
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+--------------------
 The Django Admin has the default Today and Now buttons for datetime
 fields.

 These seem to use the local time, but store it as UTC in the db without
 converting it.  Meaning, if its 10PM local time, the Now button will
 populate with 22:00 but will store as 22:00 +0:00:00.  This is confusing
 as it makes it very hard to understand what is going on.

 It would be better if the buttons used UTC's current date/time and stored
 as such, or use the default timezone and store the appropriate offset.

 PS sorry if dupe, i tried searching but admin, today, and now are hard
 terms to search on.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20663>
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 post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/053.dbbba1447e21e9ac8f5bfddaee5bab1e%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to