TIME_ZONE not respected by Today and Now widgets in admin
|Reported by:||Adam Nelson||Owned by:||nobody|
|Cc:||Triage Stage:||Fixed on a branch|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
When clicking 'Today' or 'Now' for a datetime field in the admin, the timezone used is that of the client, not the server. The behavior should either be to silently convert the datetime from the client's to the server's and back again (other tickets address this issue more generally), or to use the timezone set by settings.TIME_ZONE. The first option should not be done in this ticket, a general solution to that issue can be done elsewhere in a far future milestone. The more specific problem is that an end user puts in 'now' and it's really wrong.
Note: Showing the end user what the server time is could make things more clear generally.
Change History (13)
comment:10 Changed 5 years ago by
|Triage Stage:||Design decision needed → Fixed on a branch|