Compare commits

..

2 commits

Author SHA1 Message Date
Oliver Traber a1c06f84ae
Merge pull request #2 from Feuerhamster/main
format timestamp
2022-09-19 02:02:55 +02:00
Lena Emme 27f679146e format timestamp 2022-09-11 22:41:20 +02:00

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;
} }
} }