You probably want to set the time to the time your wiki's server is set to. If the server's OS takes care of the daylight saving time and you just want the wiki to read the time from the server put the following in your LocalSettings.php file: ------------------------------ ##Set Default Timezone for East Coast time (EST/EDT): $wgLocaltimezone = "America/New_Tork"; $oldtz = getenv("TZ"); putenv("TZ=$wgLocaltimezone"); $wgLocalTZoffset = date("Z") / 3600; putenv("TZ=$oldtz"); ------------------------------ If your version of Mediawiki is old (1.6 or less), you may need to change the "3600" to "60". For more help: http://meta.wikimedia.org/wiki/Help:Timezone Also, confirm that your account doesn't have a different preference set. You can see your preferences by logging in and hitting the "preferences" link at the top of the page. Any settings there would only effect that account.
-Jim
-----Original Message----- From: Frederich, Eric P21322 [mailto:eric.frederich@siemens.com] Sent: Tuesday, April 03, 2007 11:23 AM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] timestamps
Thanks Rob.
But if I have to manually change it between -5 and -4 myself whenever daylight savings time kicks in, won't that display wrong information for other days?
For example. A month ago I was UTC - 5 and made edits at 8:00 am. Today I'm at UTC - 4. I'm just guessing here, but if I go and look at those edits from a month ago, won't it say that they were made at 9:00?
~Eric
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Rob Church Sent: Tuesday, April 03, 2007 11:16 AM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] timestamps
On 03/04/07, Frederich, Eric P21322 eric.frederich@siemens.com wrote:
I am unfamiliar with UTC time and whether or not that takes daylight savings time into account.
No.
I live in Florida in the US Eastern Time zone. If I leave it at -5
will
it take daylight savings time into account or do I need to do that manually?
You need to set the offset to be correct, i.e. the number of hours your current time differs from UTC. You should be able to just click the button to read the value from the browser.
Rob Church
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l