Fixed weird date format
This commit is contained in:
parent
bc0dfae6c2
commit
b1782bba20
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ new Vue({
|
|||
this.fetchingUptime = showAsFetching;
|
||||
try {
|
||||
let { data } = await axios.get('/api/uptime');
|
||||
this.uptime = moment(data.uptime, 'HH:MM DD-MM-YYYY').fromNow();
|
||||
this.uptime = moment(data.uptime, 'HH:MM MM-DD-YYYY').fromNow();
|
||||
this.fetchingUptime = false;
|
||||
} catch (err) { throw new Error(err); }
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue