Re: "Current" timezone in admin

2012-01-28 Thread Danny Adair
Thanks Aymeric, On Sat, Jan 28, 2012 at 09:49, Aymeric Augustin wrote: >[...] > Currently, there's no built-in UI for timezone selection. However, I've > described some ideas, along with sample code, in the documentation: > https://docs.djangoproject.com/en/dev/topics/i18n/timezones/#selecting-t

Re: "Current" timezone in admin

2012-01-27 Thread Aymeric Augustin
Hello Danny, On 15 janv. 2012, at 10:10, Danny W. Adair wrote: > Is there a hook that allows the "current" timezone to be set for > admin, so that it uses it for datetime display/submission? Maybe a > middleware that expects a session variable configured/named in > settings? Currently, there's no

"Current" timezone in admin

2012-01-27 Thread Danny W. Adair
Hi, With 1.4 timezone support I was wondering if/how django admin supports the current user's timezone. There's no corresponding HTTP header like "Accept-Language" so I guess the timezone must be set in the session (looked up from a profile or whatever). Is there a hook that allows the "current" t