From 2388747fbf954de990862a6c01713d50823e8725 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Tue, 24 Aug 2021 11:10:39 +0200 Subject: overhauled testing --- templates/headers/_display_headers.html.ep | 2 +- templates/webmail/readmail.html.ep | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/headers/_display_headers.html.ep b/templates/headers/_display_headers.html.ep index e7f9650..da04873 100644 --- a/templates/headers/_display_headers.html.ep +++ b/templates/headers/_display_headers.html.ep @@ -71,7 +71,7 @@ %= ucfirst($msg->{is_multipart} ? l('yes') : l('no')); - % my $date = parse_iso_date $msg->{date}; + % my $date = parse_iso_date $msg->{date_received}; %= join('/', $date->{mday}, $date->{month}, $date->{year}) . " $date->{hour}:$date->{min}"; diff --git a/templates/webmail/readmail.html.ep b/templates/webmail/readmail.html.ep index 79dbff7..8c2432a 100644 --- a/templates/webmail/readmail.html.ep +++ b/templates/webmail/readmail.html.ep @@ -18,7 +18,7 @@ %= $mail_fmt->('cc', $msg->{cc}) if !ref $msg->{cc} || @{ $msg->{cc} }; %= $mail_fmt->('bcc', $msg->{bcc}) if !ref $msg->{bcc} || @{ $msg->{cc} };
<%= uc l 'date' %>
-
<%= $msg->{date} %>
+
<%= $msg->{date_received} %>
<%= uc l 'size' %>
<%= print_sizes10 $msg->{size} %>
<%= uc l 'content-type' %>
-- cgit v1.2.3