format timestamp
This commit is contained in:
parent
3ac190e747
commit
27f679146e
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue