On Thu Apr 20 18:37:46 2006, guest wrote:
Show quoted text> the date displayed on a revision view (for example) appears to be GMT.
> Is there some way to (optionally ?) make it display as localtime? I
> realize it's probably impossible to have it be the localtime for the
> client (browser), but localtime for the server would be adequate for our
> purposes.
I've got some code that should solve this. It lets you specify two things.
First, the format (as a strftime format string) that you want to display
the date as. For example,
%Y/%m/%d %H:%M:%S
will duplicate the current functionality.
The second is the timezone you want times converted to. The choices are:
1. Undefined. In which case you get the current behaviour, UTC/GMT
2. The literal C<local>, in which case the server's local time zone is
used.
3. A timezone name, such as C<BST> or C<EST>, in which case all the
times are converted to that timezone.
Does that cover all your requirements?
N