1
0
Fork 0

Fixed weird date format

This commit is contained in:
Ava Gaiety Wroten 2019-12-25 23:30:58 -06:00
parent bc0dfae6c2
commit b1782bba20

View file

@ -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); }
},