1
0
mirror of https://github.com/beestat/app.git synced 2025-05-24 02:14:03 -04:00

Fixed #249 - Ecobee down notification does not include a leading 0 on minute

This commit is contained in:
Jon Ziebell 2020-02-22 09:54:38 -05:00
parent f2acdb0924
commit 78fc04c836

View File

@ -27,7 +27,7 @@ beestat.component.down_notification.prototype.decorate_ = function(parent) {
});
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 + '.'));
parent.appendChild(div);