[rt-users] Error in e-mail dates

Robert Spier rspier at pobox.com
Fri Dec 22 21:07:51 EST 2006


Gene,

  What version of perl?  

  What does:

 /usr/local/bin/perl -MDate::Format -le'@a=localtime; print strftime("%z", at a)'

 output?  use the same perl that your RT is running with.

  Your Date::Format may be out of date.

-R

At Fri, 22 Dec 2006 11:45:57 -0800,
Gene LeDuc wrote:
> 
> Hi,
> 
> I've finished installing rt 3.6.1 on a solaris 9 box and am seeing an
> error in the date processing for e-mails.  E-mails sent from rt have a
> date field that looks like "Date: Fri, 22 Dec 2006 10:39:36 %z".  The
> time listed is local time, but because the timezone is bogus (%z) my
> mail client assumes it is GMT and shows me a time that is way off.
> For example, the above time shows up as "02:39 AM" (Local time is
> 10:39 and GMT is 18:39) in my mail client.  The time and timezone on
> the Solaris box are correct.
> 
> In rt.log I'm seeing this message:
> [Fri Dec 22 18:39:58 2006] [debug]: RT::Date used date::parse to make
> 1970-01-01 28800 (/opt/local/lib/RT/Date.pm:211)
> 
> The timestamps in the web interface are correct local times.
> 
> Here's what is in my RT_SiteConfig.pm:
> Set($Timezone , 'US/Pacific');
> 
> Can anyone suggest what the problem is here?
> 
> Thanks,
> Gene
> 
> 
> 
> -- 
> Gene LeDuc, GSEC
> Security Analyst
> San Diego State University
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
> 
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly
> Media. Buy a copy at http://rtbook.bestpractical.com



More information about the rt-users mailing list