I put the offset at -5.
I checked the preferences of the user and I see Server time 16:36 and Local time 16:31.
So I went on the server and it has the correct time (11:XX), as does my own station.
Could this be a DB problem?
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Brion Vibber Sent: 1 février, 2007 11:27 To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Problem with TZ settings
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Simon Renshaw wrote:
Hi,
Currently using version 1.9.1 and I'm having some problems getting the correct TZ, in my cast EST.
With 1.8, I put $wgLocalTZoffset in LocalSettings and that worked.
I looked on Mediawiki's site in the config section and it look like I need to put $wgLocaltimezone = 'EST'; in LocalSettings.
But even after that, when I edit a page the time shown is not correct. For example, I edited a page at 10:50 this morning and it shows as 15:50 in the history page.
/** * Fake out the timezone that the server thinks it's in. This will be used for * date display and not for what's stored in the DB. Leave to null to retain * your server's OS-based timezone value. This is the same as the timezone. * * This variable is currently used ONLY for signature formatting, not for * anything else. */
What should I change to fix it?
1) set $wgLocalTZoffset 2) confirm that your account doesn't have a different preference set
- -- brion vibber (brion @ pobox.com / brion @ wikimedia.org)
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l