Re: [rt-users] Timezone set to GMT?

2016-11-21 Thread Alex Hall
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 
wrote:

> On Nov 18, 2016, at 11:40 AM, Alex Hall  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 ®
>  lstew...@internap.com
>  www.internap.com
>
>


-- 
Alex Hall
Automatic Distributors, IT department
ah...@autodist.com
-
RT 4.4 and RTIR training sessions, and a new workshop day! 
https://bestpractical.com/training
* Los Angeles - January 9-11 2017

Re: [rt-users] Timezone set to GMT?

2016-11-18 Thread Landon Stewart
On Nov 18, 2016, at 11:40 AM, Alex Hall 
> 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 ®
 lstew...@internap.com
 www.internap.com

-
RT 4.4 and RTIR training sessions, and a new workshop day! 
https://bestpractical.com/training
* Los Angeles - January 9-11 2017

[rt-users] Timezone set to GMT?

2016-11-18 Thread Alex Hall
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
ah...@autodist.com
-
RT 4.4 and RTIR training sessions, and a new workshop day! 
https://bestpractical.com/training
* Los Angeles - January 9-11 2017