summaryrefslogtreecommitdiff
path: root/server.js
diff options
context:
space:
mode:
Diffstat (limited to 'server.js')
-rw-r--r--server.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.js b/server.js
index 89b92d6..078a5c6 100644
--- a/server.js
+++ b/server.js
@@ -210,7 +210,7 @@ function SLOG(socket, ...msg) {
function human_date(date) {
if (typeof date === 'string')
- date = julianday_from_epoch(Date.parse(date))
+ date = julianday_from_epoch(Date.parse(date + "Z"))
if (typeof date !== 'number')
return "never"
var days = julianday_from_epoch(Date.now()) - date