mirror of
https://github.com/BluemediaGER/fancy-gatus.git
synced 2024-11-08 17:35:29 +01:00
format timestamp
This commit is contained in:
parent
3ac190e747
commit
27f679146e
|
@ -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