about summary refs log tree commit homepage
diff options
context:
space:
mode:
-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])) }