Hi everyone,
I have set up $wgLocaltimezone and I get it right; when I save a page, it takes the time I've set up in $wgLocaltimezone.
However, when I assign a page with ~~~~, my signature always takes the CST (Central Standard Time); and unfortunately that doesn't work for me.
Does someone know where should I set up, in order to get the local PC time into my signatures?
Thanks a lot, mauro.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Mauro do Carmo wrote:
Does someone know where should I set up, in order to get the local PC time into my signatures?
Configure your timezone in the user preferences.
- -- Jamie - ------------------------------------------------------------------- http://endeavour.zapto.org/astro73/ Thank you to JosephM for inviting me to Gmail! Have lots of invites. Gmail now has 2GB.
Thanks Jamie,
I've checked out Time Zone in user preferences, but I have not seen where I should change the configuration there.
If you could give me more detail I would appreciate,
Thanks, mauro.
-----------
Hi everyone,
I have set up $wgLocaltimezone and I get it right; when I save a page, it takes the time I've set up in $wgLocaltimezone.
However, when I assign a page with ~~~~, my signature always takes the CST (Central Standard Time); and unfortunately that doesn't work for me.
Does someone know where should I set up, in order to get the local PC time into my signatures?
Thanks a lot, mauro.
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Jamie Bliss Sent: Monday, December 26, 2005 6:33 PM To: mediawiki-l@wikimedia.org Subject: [Mediawiki-l] Re: time zone for ~~~~
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Mauro do Carmo wrote:
Does someone know where should I set up, in order to get the local PC time into my signatures?
Configure your timezone in the user preferences.
- -- Jamie
Mauro do Carmo wrote:
I have set up $wgLocaltimezone and I get it right; when I save a page, it takes the time I've set up in $wgLocaltimezone.
However, when I assign a page with ~~~~, my signature always takes the CST (Central Standard Time); and unfortunately that doesn't work for me.
Does someone know where should I set up, in order to get the local PC time into my signatures?
Signatures use the system's configured timezone. On Unix/Linux you can generally set this by changing the TZ environment variable in LocalSettings.php, for instance:
putenv("TZ=Europe/Berlin");
A sitewide default timezone is used here rather than the individual user's preference or local version to keep things consistent. If you have a page full of signatures, and they're all in different timezones, it's pretty hard to mentally keep track of what was before what.
-- brion vibber (brion @ pobox.com)
Thanks Brion,
Would you know where I find TZ for whatsoever place/state I need? For instance, instead of Berlin, let's say I need a sitewide default timezone TZ for California/USA, or São Paulo/BR.
I don't think I could go ahead and make up some thing like: putenv("TZ=USA/California"); Or putenv("TZ=Brazil/São Paulo"). Couldn't I?:)
Thanks a lot, mauro.
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Brion Vibber Sent: Tuesday, December 27, 2005 3:28 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] time zone for ~~~~
Mauro do Carmo wrote:
I have set up $wgLocaltimezone and I get it right; when I save a page, it takes the time I've set up in $wgLocaltimezone.
However, when I assign a page with ~~~~, my signature always takes the CST (Central Standard Time); and unfortunately that doesn't work for me.
Does someone know where should I set up, in order to get the local PC time into my signatures?
Signatures use the system's configured timezone. On Unix/Linux you can generally set this by changing the TZ environment variable in LocalSettings.php, for instance:
putenv("TZ=Europe/Berlin");
A sitewide default timezone is used here rather than the individual user's preference or local version to keep things consistent. If you have a page full of signatures, and they're all in different timezones, it's pretty hard to mentally keep track of what was before what.
-- brion vibber (brion @ pobox.com)
Mauro do Carmo wrote:
Would you know where I find TZ for whatsoever place/state I need? For instance, instead of Berlin, let's say I need a sitewide default timezone TZ for California/USA, or São Paulo/BR.
I don't think I could go ahead and make up some thing like: putenv("TZ=USA/California"); Or putenv("TZ=Brazil/São Paulo"). Couldn't I?:)
Time zone info is usually in someplace like /usr/share/zoneinfo.
On the machine I'm on at the moment (Mac OS X) there are America/Los_Angeles and America/Sao_Paulo settings available; I'm not 100% sure how standard the naming is across *nixes.
-- brion vibber (brion @ pobox.com)
mediawiki-l@lists.wikimedia.org