The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

RT-Extension-LocalDateHeader - Display local date for attachment Date header

DESCRIPTION

The Date: header included in emails received by RT will often be in the sender's timezone (or possibly force to UTC by the remove mail server). This extension will rewrite the Date: header to the user's timezone while also displaying the original Date: next to it.

VERSION

Compatible with RT 4.0 and 4.2. Versions earlier than 4.0.8 will need to patch as instructed below. Untested on 3.8.

INSTALLATION

perl Makefile.PL
make
make install

May need root permissions

Edit your /opt/rt4/etc/RT_SiteConfig.pm

If you are using RT 4.2 or later, add this line:

    Plugin('RT::Extension::LocalDateHeader');

For earlier releases of RT 4, add this line:

    Set(@Plugins, qw(RT::Extension::LocalDateHeader));

or add RT::Extension::LocalDateHeader to your existing @Plugins line.

patch RT

If you are running RT 4.0.7 or earlier:

    patch -d /opt/rt4 -p1 < etc/callback_before_localization.diff
Clear your mason cache
    rm -rf /opt/rt4/var/mason_data/obj
Restart your webserver

AUTHOR

sunnavy <sunnavy@bestpractical.com>

LICENSE AND COPYRIGHT

Copyright 2012-2014 Best Practical Solutions, LLC.

This is free software, licensed under:

  The GNU General Public License, Version 2, June 1991