aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcel <cel@lOUVT+Phkvai9a/cCS/RKo+S9hnPAQdVixms/7ldpPA=.ed25519>2020-10-06 20:52:42 -0400
committercel <cel@lOUVT+Phkvai9a/cCS/RKo+S9hnPAQdVixms/7ldpPA=.ed25519>2020-10-06 20:52:42 -0400
commitf4df0f3db34f03cb48c9b02771de7a4d2ac7af0b (patch)
treec74d354751f69f6bc9f2da08b74d210003f4fa92
parent8667de56c81425100b274655b183def02e92725c (diff)
downloadpatchfoo-f4df0f3db34f03cb48c9b02771de7a4d2ac7af0b.tar.gz
patchfoo-f4df0f3db34f03cb48c9b02771de7a4d2ac7af0b.zip
Hide relative time of mini messages in print view
-rw-r--r--lib/render-msg.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/render-msg.js b/lib/render-msg.js
index c39825d..021d817 100644
--- a/lib/render-msg.js
+++ b/lib/render-msg.js
@@ -176,7 +176,7 @@ RenderMsg.prototype.wrapMini = function (content, cb) {
this.recpsLine(done()),
channel ? [h('a', {href: this.toUrl(channel)}, channel), ' '] : ''),
h('td.msg-main',
- this.date ? [h('a.ssb-timestamp', {
+ this.date && !this.serve.noMsgTime ? [h('a.ssb-timestamp', {
title: this.date.toLocaleString(),
href: this.msg.key ? this.toUrl(this.msg.key) : undefined
}, htime(this.date)), ' '] : '',