mirror of
https://github.com/BluemediaGER/fancy-gatus.git
synced 2024-09-07 21:26:41 +02: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