Hi List,
i don't like pushing own questions back on top. But after waiting about one week with no single reaction from the list and my boss getting impatient, i see no other solution.
Could someone _please_ help me?
With regards,
Heiner Wulfhorst
mediawiki-l-bounces@lists.wikimedia.org schrieb am 30.03.2009 16:43:46:
Hi Guys,
we are really frustrated as our wiki is showing the wrong time.
Here's the part of our LocalSettings (as seen on http://www.mediawiki.org/wiki/Manual_talk:Timezone): #Set Default Timezone $wgLocaltimezone = "Europe/Berlin"; $oldtz = getenv("TZ"); putenv("TZ=$wgLocaltimezone"); # Versions before 1.7.0 used $wgLocalTZoffset as hours. # After 1.7.0 offset as minutes $wgLocalTZoffset = date("Z") / 60; #$wgLocalTZoffset = date("Z") / 60 + date("I") * 60; # putenv("TZ=$oldtz");
Server's and php's time is right: [root@servlet ~]# php -r 'echo date("r");' Mon, 30 Mar 2009 15:57:03 +0200
Our Wiki is always 2 hours wrong: Server time13:59 Local time15:59 Offset 02:00
Kind regards,
Heiner Wulfhorst
Intermoves AG Technologiepark 19 33100 Paderborn
- Tel. + 49 (0) 52 51 16 13-0
- Fax + 49 (0) 52 51 16 13-99
- mailto:heiner.wulfhorst@intermoves.de
Vorstand: Volker Herold Aufsichtsratvorsitzender: Prof. Dr. Uwe Kern Sitz der Gesellschaft: Paderborn Registergericht: Paderborn, HRB 3592 _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l