bin/configure offers:
"Set the timezone (this only effects the display of times, all internal storage is still in GMT). May be gmtime or servertime"
which can be used to set
$TWiki::cfg{DisplayTimeValues} = 'servertime';
in
LocalSite.cfg
But the outcome of setting servertime is not what the user expects. Instead of seeing servertime in most places, there is now a confusing mixture of servertime and gmtime. This appears to be due to DATE still running on gmtime. Correcting DATE to servertime seems to give the expected outcome for the intranets who only want to use servertime.
This DATE change should follow on automatically from the
LocalSite.cfg setting. The attached patch to TWiki.pm seems to achieve that, but it still needs
- more testing
- check other TWiki files (e.g. templates) for any hard coded "GMT" string that might end up being inserted after a server time zone time.
--
TWiki:Main/SueBlake - 27 Jan 2008
Yes, please do this. I have just noticed that the date in the signature box seems to be based on gmtime, so all the users get the previous day's date before 11:00 am. If TWiki is set to use servertime, then all the default date stuff should be based on this, not just some.
--
TWiki:Main.MarcusLeonard - 01 Apr 2008
nice to see someone reads the docco
commited
--
SvenDowideit - 01 Jun 2008