Simon Wagner wrote:
Here is a snap from my LocalSettings.php:
------------------------------------------
#Changes made by Simon Wagner
#-Change the Time to Germany time
$wgLocaltimezone="Europe/Berlin";
$wgLocalTZoffset = +2; //+1 Normal, +2 Sommertime
------------------------------------------
Well, but now i am coming up with a question:
Is there any support for automatic summer time change? I think there is a
formula which calculates the day when the time offset changes, but i can't
remember it.
date('T') or something will give you the offset (please see PHP manual), but
note that this will not alter the setting for someone who has manually set the
offset in their preferences.
-- brion vibber (brion @
pobox.com)