]> Sergey Matveev's repositories - public-inbox.git/commitdiff
view: remove X-PI-TS reference
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Sat, 24 Feb 2018 03:33:59 +0000 (03:33 +0000)
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Wed, 28 Feb 2018 18:53:29 +0000 (18:53 +0000)
We haven't needed this since we integrated threading
and dropped Email::Abstract and Mail::Thread usage.

lib/PublicInbox/View.pm

index 590a76a0f8b2a2b8693bacd1318a0975af6e98d3..aad674882d0de236b0dcdec070292581ddc823dd 100644 (file)
@@ -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])) }