summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.js b/server.js
index 380e14d..b85be9e 100644
--- a/server.js
+++ b/server.js
@@ -816,7 +816,7 @@ app.post('/message/send', must_be_logged_in, function (req, res) {
})
function quote_body(message) {
- let when = new Date(message.time).toDateString()
+ let when = new Date(from_julianday(message.time)).toDateString()
let who = message.from_name
let what = message.body.split("\n").join("\n> ")
return "\n\n" + "On " + when + " " + who + " wrote:\n> " + what + "\n"