This could be used to set a session/cookie with the aforementioned
timezone in order to communicate it to a timezone middleware, that runs
activate().
Both the middleware and the javascript script could be provided by default
by contrib.admin.
The benefit is that by default/for free django-admin would provide its
users with properly localized datetimes instead of UTC
--
Ticket URL: <https://code.djangoproject.com/ticket/33867>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* resolution: => duplicate
Comment:
The Django admin uses `getTimezoneOffset()` since
7e6d852bac4de2d5ed2d5ddeabf71482d644ef51. I think you're talking about
timezone-aware widgets 🤔, so it's a duplicate of #29822.
--
Ticket URL: <https://code.djangoproject.com/ticket/33867#comment:1>