System time v RT 2 time

Howdy folks,

Does anyone know how RT 2 generates/calculates date and time? My system date
and time are correct (red hat linux 7.0) but date/time on tickets is
incorrect. I’ve also noticed that /var/log/httpd/access_log and
…/http/error_log entries have incorrect date and time. It looks like it
might be a time-zone issue? If so, how do I modify the time zone??

Thanks,
Stuart

Does anyone know how RT 2 generates/calculates date and time? My system
date
and time are correct (red hat linux 7.0) but date/time on tickets is
incorrect. I’ve also noticed that /var/log/httpd/access_log and
…/http/error_log entries have incorrect date and time. It looks like it
might be a time-zone issue? If so, how do I modify the time zone??

Without any formal research, I’d recommend taking a quick look at the TZ
environment variable. I had to deal with a Time Zone issue in the past and
I seem to recall that the problem was related to the setting of this
environment variable.

Trevor Sky Garside
trevor@trevorsky.com

Trevor Sky Garside wrote:

Does anyone know how RT 2 generates/calculates date and time? My system
date

Having just gone through hell timezones, I’ll respond to this:

You can override the TZ variable for an apache virtual host with

SetEnv TZ Austalia/NSW

Of course, you can modify as necessary.

This seems to have solved most of my timezone problems.

T�o de Hesselle, | Kites rise highest against
Unix Systems Administrator | the wind – not with it.
|
University of Technology, Sydney | – Winston Churchill