From ca6c0e63f19d44892cd1a676466a35ab6dd9e0c9 Mon Sep 17 00:00:00 2001 From: "Eric Wong (Contractor, The Linux Foundation)" Date: Sat, 24 Feb 2018 03:33:59 +0000 Subject: view: remove X-PI-TS reference We haven't needed this since we integrated threading and dropped Email::Abstract and Mail::Thread usage. --- lib/PublicInbox/View.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/PublicInbox/View.pm') 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])) } -- cgit v1.2.3-24-ge0c7