Commit ac97205d authored by sunnavy's avatar sunnavy
Browse files

just show the date if it's already the user's timezone

parent c2cec9eb
......@@ -10,7 +10,7 @@ for my $header ( @$headers ) {
Timezone => 'UTC',
);
if ( $date->Unix ) {
if ( $date->Unix && $header->{Value} ne $date->RFC2822(Timezone => 'user') ) {
$header->{Value} = $date->RFC2822(Timezone => 'user') . qq! <span style="color:grey">($header->{Value})</span>!;
}
}
......
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