[Zope3-dev] Re: Formatting of Created/Modified times
Anthony Baxter
Anthony Baxter <anthony@interlink.com.au>
Tue, 10 Jun 2003 18:18:10 +1000
>>> Steve Alexander wrote
> When my aunt in Australia downloads Zope 3 and goes through the "adding
> folders and douments" tutorial, I don't want her to be confused when she
> adds a new folder at 12 noon, and its modified time appears to be 2am.
>
> Making casual developers need to say what timezone they are in, when
> they have already configured their computer that way, is nonsense.
>
> My opinion on this would change if browsers had a way of telling a
> server what the user's prefered timezone is.
You could do it with javascript:
var now = new Date();
var tz = now.getTimezoneOffset();
That, with a hidden form field in the loginbox, would do it...
Anthony
--
Anthony Baxter <anthony@interlink.com.au>
It's never too late to have a happy childhood.