substanced icon indicating copy to clipboard operation
substanced copied to clipboard

Timezone from JavaScript?

Open mcdonc opened this issue 11 years ago • 1 comments

Currently we use an attribute on the user object to obtain the user's timezone. Apparently you can also get the timezone of the user's browser via JS. I wonder if it wouldn't be better to use the browser timezone than an attribute of the user (or some combination of the two, with one as a fallback for the other).

mcdonc avatar Aug 10 '13 06:08 mcdonc

Maybe send the timezone when the login form is submitted, and put the result in the session, then add a value to the dropdown list of timezones which means "from the browser"?

mcdonc avatar Aug 16 '13 09:08 mcdonc