Commit c2cec9eb authored by sunnavy's avatar sunnavy
Browse files

remove heading and trailing values from date value

parent f5df9ac7
<%init> <%init>
for my $header ( @$headers ) { for my $header ( @$headers ) {
if ( $header->{Tag} eq 'Date' && $header->{Value} ) { if ( $header->{Tag} eq 'Date' && $header->{Value} ) {
$header->{Value} =~ s!^\s+!!;
$header->{Value} =~ s!\s+$!!;
my $date = RT::Date->new($session{CurrentUser}); my $date = RT::Date->new($session{CurrentUser});
$date->Set( $date->Set(
Format => 'unknown', Format => 'unknown',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment