Timezone set to GMT?

Hi all,
I have the timezone set in SiteConfig how it came by default, and
/etc/timezone on my server is correct. Yet, I’ve just noticed that times in
RT are GMT, not Eastern like they should be. I only just noticed this, but
I’m told it has been an ongoing problem. That means I don’t know what I
might have changed, or when.

Is there more to the timezone than letting RT pick it up from
/etc/timezone? Do I need to worry about setting MySQL somehow? The file is
644, so is readable by everyone. Thanks.

Alex Hall
Automatic Distributors, IT department
ahall@autodist.com

Hi all,
I have the timezone set in SiteConfig how it came by default, and /etc/timezone on my server is correct. Yet, I’ve just noticed that times in RT are GMT, not Eastern like they should be. I only just noticed this, but I’m told it has been an ongoing problem. That means I don’t know what I might have changed, or when.

Is there more to the timezone than letting RT pick it up from /etc/timezone? Do I need to worry about setting MySQL somehow? The file is 644, so is readable by everyone. Thanks.

This is probably already set in the shipped configuration in etc/RT_Config.pm as follows but you can override it in etc/RT_SiteConfig.pm

   $Timezone
       $Timezone is the default timezone, used to convert times entered by users into GMT, as they are stored in the database, and back again;
       users can override this.  It should be set to a timezone recognized by your server.

eg:
Set($Timezone, “US/Eastern”);

Landon Stewart
Lead Analyst - Abuse and Security Management
INTERNAP ®
:e-mail: lstewart@internap.commailto:lstewart@internap.com
:earth_africa: www.internap.comhttp://www.internap.com

I’m using the RT default, which appears to pull the information from
/etc/timezone:

my $zone = “UTC”;
$zone=/bin/cat /etc/timezone
if -f “/etc/timezone”;
chomp $zone;
Set($Timezone, $zone);

And /etc/timezone exists and is set correctly. I can just set the actual
value in this file, but I’m still not sure why this doesn’t work.On Sat, Nov 19, 2016 at 1:17 AM, Landon Stewart lstewart@internap.com wrote:

On Nov 18, 2016, at 11:40 AM, Alex Hall ahall@autodist.com wrote:

Hi all,
I have the timezone set in SiteConfig how it came by default, and
/etc/timezone on my server is correct. Yet, I’ve just noticed that times in
RT are GMT, not Eastern like they should be. I only just noticed this, but
I’m told it has been an ongoing problem. That means I don’t know what I
might have changed, or when.

Is there more to the timezone than letting RT pick it up from
/etc/timezone? Do I need to worry about setting MySQL somehow? The file is
644, so is readable by everyone. Thanks.

This is probably already set in the shipped configuration in
etc/RT_Config.pm as follows but you can override it in etc/RT_SiteConfig.pm

   $Timezone
       $Timezone is the default timezone, used to convert times

entered by users into GMT, as they are stored in the database, and back
again;
users can override this. It should be set to a timezone
recognized by your server.

eg:
Set($Timezone, “US/Eastern”);


Landon Stewart
Lead Analyst - Abuse and Security Management
INTERNAP ®
:e-mail: lstewart@internap.com
:earth_africa: www.internap.com

Alex Hall
Automatic Distributors, IT department
ahall@autodist.com