aboutsummaryrefslogtreecommitdiff
path: root/lib/render-msg.js
diff options
context:
space:
mode:
authorcel <cel@lOUVT+Phkvai9a/cCS/RKo+S9hnPAQdVixms/7ldpPA=.ed25519>2020-03-24 13:26:07 -0400
committercel <cel@lOUVT+Phkvai9a/cCS/RKo+S9hnPAQdVixms/7ldpPA=.ed25519>2020-03-28 13:55:28 -0400
commit879050c98e1d2cc18f522a16d5b0cb2b82232dca (patch)
treec582ee8dcc04f2dbc62b00b12905874ac5d67fba /lib/render-msg.js
parente3e4ed19ef47bbbd8a0236011b5d4bf131eed048 (diff)
downloadpatchfoo-879050c98e1d2cc18f522a16d5b0cb2b82232dca.tar.gz
patchfoo-879050c98e1d2cc18f522a16d5b0cb2b82232dca.zip
Try to clarify gathering times
- Show user-local date time string on gathering page, alongside UTC timestamp and TZ string - Include TZ in about message - Align table headings to be more readable
Diffstat (limited to 'lib/render-msg.js')
-rw-r--r--lib/render-msg.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/render-msg.js b/lib/render-msg.js
index ccaa5b1..68ea4d7 100644
--- a/lib/render-msg.js
+++ b/lib/render-msg.js
@@ -608,9 +608,9 @@ RenderMsg.prototype.links = function (links, cb) {
function dateTime(d) {
var date = new Date(d.epoch)
+ var tz = d.tz || d.bias
return date.toString()
- // d.bias
- // d.epoch
+ + (tz ? ' in ' + tz : '')
}
// TODO: make more DRY