#14253: TIME_ZONE not respected by Today and Now widgets in admin
-------------------------------------------+--------------------------------
Reporter: adamnelson | Owner: nobody
Status: new | Milestone:
Component: django.contrib.admin | Version: 1.2
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------------+--------------------------------
Changes (by mtredinnick):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
Hmm... this isn't clearly a bug. In fact, the current behaviour seems
correct to me (although I appreciate why it's debatable). When I click on
the "now" button, it puts my current time in (now for me). Ditto for
today. And that's the time I'm telling the server about. We do have some
inconsistency with timezone expectations in the backend, but I'm not sure
admin should auto "correct" (which is auto-break in some expectations).
Still, the question remains what to do, since the server cannot know the
client's idea of timezone offset. I'd really like to pass back the offset
so that the server can decide (and admin might well change the time to its
own timezone), but then what do you do when people are entering values in
the server's timezone (correcting in their head)? We can't make everybody
happy here, but it feels like making the time the user enters not make
sense to them in their frame of reference is wrong.
(Realistically, of course, many people are admin'ing in the same timezone
as their server, so this is a moot point, but I've definitely been aware
of it before, particularly when on the road.)
--
Ticket URL: <http://code.djangoproject.com/ticket/14253#comment:1>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.