about summary refs log tree commit homepage
path: root/lib/PublicInbox/View.pm
diff options
context:
space:
mode:
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-02-24 03:33:59 +0000
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-02-28 18:53:29 +0000
commitca6c0e63f19d44892cd1a676466a35ab6dd9e0c9 (patch)
treef8df21b61585c25c14c0bdff90660cb4cc52a859 /lib/PublicInbox/View.pm
parentd5ab7a89e7ab6ef081e13a3d50a7fe9a3647613a (diff)
downloadpublic-inbox-ca6c0e63f19d44892cd1a676466a35ab6dd9e0c9.tar.gz
We haven't needed this since we integrated threading
and dropped Email::Abstract and Mail::Thread usage.
Diffstat (limited to 'lib/PublicInbox/View.pm')
-rw-r--r--lib/PublicInbox/View.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm
index 590a76a0..aad67488 100644
--- a/lib/PublicInbox/View.pm
+++ b/lib/PublicInbox/View.pm
@@ -752,8 +752,7 @@ sub missing_thread {
 
 sub _msg_date {
         my ($hdr) = @_;
-        my $ts = $hdr->header('X-PI-TS') || msg_timestamp($hdr);
-        fmt_ts($ts);
+        fmt_ts(msg_timestamp($hdr));
 }
 
 sub fmt_ts { POSIX::strftime('%Y-%m-%d %k:%M', gmtime($_[0])) }