summaryrefslogtreecommitdiff
path: root/xP/public/xP.js
diff options
context:
space:
mode:
Diffstat (limited to 'xP/public/xP.js')
-rw-r--r--xP/public/xP.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/xP/public/xP.js b/xP/public/xP.js
index c0dba93..f21683c 100644
--- a/xP/public/xP.js
+++ b/xP/public/xP.js
@@ -196,7 +196,7 @@ let Buffer = {
let lastDateMark = undefined
b.lines.forEach(line => {
- let date = new Date(line.when * 1000)
+ let date = new Date(line.when)
let dateMark = date.toLocaleDateString()
if (dateMark !== lastDateMark) {
lines.push(m('.date', {}, dateMark))