format timestamp

This commit is contained in:
Lena Emme 2022-09-11 22:41:20 +02:00
parent 3ac190e747
commit 27f679146e

View file

@ -19,6 +19,9 @@ export default {
while (tmp.length < 20) { while (tmp.length < 20) {
tmp.unshift({}); tmp.unshift({});
} }
for (let t of tmp) {
t.timestamp = new Date(t.timestamp).toLocaleString();
}
return tmp; return tmp;
} }
} }