How do I find the Timezone offset of the users Browser in the Play Framework?
I believe I can do so with a little bit of Javascript like this:
var tzOffset = (new Date()).getTimezoneOffset()/60;
But getting the Javascript var from the Scala Template to the Controller's seems a bit of overkill. Plus it won't work for the index page.
Is there a better way?