Merge pull request #2 from Feuerhamster/main

format timestamp
This commit is contained in:
Oliver Traber 2022-09-19 02:02:55 +02:00 committed by GitHub
commit a1c06f84ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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