[Zope3-Users] obtaining time zone from http request

Lennart Regebro regebro at gmail.com
Tue Aug 30 05:10:09 EDT 2005


Getting the timezone from request is probably impossible. However, you
can do it with javascript:


<script type="text/javascript" language="javascript">
<!--
var tzo=(new Date().gettimezoneOffset()/60)*(-1);
// -->
</script>

or something like that. This could be hacked into the relevant
webpages, but you still need a form... Maybe you can set it when you
log in?


More information about the Zope3-users mailing list