mirror of
https://github.com/beestat/app.git
synced 2025-06-03 05:36:51 -04:00
Fixed #249 - Ecobee down notification does not include a leading 0 on minute
This commit is contained in:
parent
f2acdb0924
commit
78fc04c836
@ -27,7 +27,7 @@ beestat.component.down_notification.prototype.decorate_ = function(parent) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
var last_update = moment.utc(beestat.user.get().sync_status.thermostat).local()
|
var last_update = moment.utc(beestat.user.get().sync_status.thermostat).local()
|
||||||
.format('h:m a');
|
.format('h:mm a');
|
||||||
div.appendChild($.createElement('p').innerText('Ecobee seems to be down. Your data will update as soon as possible. Last update was at ' + last_update + '.'));
|
div.appendChild($.createElement('p').innerText('Ecobee seems to be down. Your data will update as soon as possible. Last update was at ' + last_update + '.'));
|
||||||
|
|
||||||
parent.appendChild(div);
|
parent.appendChild(div);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user