Date displays as GMT

(version 2.0.8)
The dates in the Web interface are showing as GMT instead of local time. I
have set up config.pm for local time ($Timezone = ‘US/Pacific’:wink: but that
doesn’t seem to help.

Any ideas? How do I fix this?

Bruce Riggins
bruce@go-mol.com

(version 2.0.8)
The dates in the Web interface are showing as GMT instead of local time. I
have set up config.pm for local time ($Timezone = ‘US/Pacific’:wink: but that
doesn’t seem to help.

Any ideas? How do I fix this?

Just a wild guess, but do you have a global TZ environment variable set?
Apache (IIRC) needs to inherit a $TZ for dates in the web interface to
work right.

Try stopping Apache, and stuffing TZ=PST (or whatever works for you) in
the script that starts it. You’ll probably need to export it as well.

Greg White

“BR” == Bruce Riggins bruce@go-mol.com writes:

BR> (version 2.0.8)
BR> The dates in the Web interface are showing as GMT instead of local time. I
BR> have set up config.pm for local time ($Timezone = ‘US/Pacific’:wink: but that
BR> doesn’t seem to help.

Does your system understand “US/Pacific” as a valid time zone?
Probably not.

Check your system’s man pages for how to specify your time zone
properly, then use that string there.

I had this EXACT same problem for ages with RT. I’m running FreeBSD 4.4 for
my RT production box, and my timezone for pacific time is:

$Timezone = ‘PST8PDT’;

I hope that helps. :slight_smile:

-Rob.

I used tzselect to find the right option. For me, it was putting the
following in the profile:

TZ=America/Los_Angeles; export TZ

Then I had to completely stop, then start, apache.

Thanks.

BruceFrom: Rob Mitzel [mailto:rmitzel@peer1.net]
Sent: Thursday, February 14, 2002 2:51 PM
To: Bruce Riggins; RT Users
Subject: RE: [rt-users] Date displays as GMT

I had this EXACT same problem for ages with RT. I’m running FreeBSD 4.4 for
my RT production box, and my timezone for pacific time is:

$Timezone = ‘PST8PDT’;

I hope that helps. :slight_smile:

-Rob.

-----Original Message-----
From: rt-users-admin@lists.fsck.com
[mailto:rt-users-admin@lists.fsck.com]On Behalf Of Bruce Riggins
Sent: February 13, 2002 5:14 PM
To: RT Users
Subject: [rt-users] Date displays as GMT

(version 2.0.8)
The dates in the Web interface are showing as GMT instead of local time. I
have set up config.pm for local time ($Timezone = ‘US/Pacific’:wink: but that
doesn’t seem to help.

Any ideas? How do I fix this?

Bruce Riggins
bruce@go-mol.com


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Yea, I have mine set as ‘US/PST’ but that still doesn’t seem to work. I
dunno, I’ve never been good with setting up dates in linux (but it is
displaying correctly when I type the command ‘date’)-----Original Message-----
From: rt-users-admin@lists.fsck.com
[mailto:rt-users-admin@lists.fsck.com]On Behalf Of Bruce Riggins
Sent: Wednesday, February 13, 2002 5:14 PM
To: RT Users
Subject: [rt-users] Date displays as GMT

(version 2.0.8)
The dates in the Web interface are showing as GMT instead of local time. I
have set up config.pm for local time ($Timezone = ‘US/Pacific’:wink: but that
doesn’t seem to help.

Any ideas? How do I fix this?

Bruce Riggins
bruce@go-mol.com

rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users