diff --git a/panels/history/ha-panel-history.html b/panels/history/ha-panel-history.html index a31ae46d33..51239a25db 100644 --- a/panels/history/ha-panel-history.html +++ b/panels/history/ha-panel-history.html @@ -100,11 +100,11 @@ Polymer({ value: null, bindNuclear: function (hass) { return [ - hass.entityHistoryGetters.currentDate, - function (currentDate) { - var dateObj = new Date(currentDate); - return dateObj.toLocaleDateString(); - }, + hass.entityHistoryGetters.currentDate, + function (currentDate) { + var dateObj = new Date(currentDate); + return dateObj.toLocaleDateString(); + }, ]; }, }, diff --git a/panels/logbook/ha-panel-logbook.html b/panels/logbook/ha-panel-logbook.html index 915a0c2410..fb246d8282 100644 --- a/panels/logbook/ha-panel-logbook.html +++ b/panels/logbook/ha-panel-logbook.html @@ -82,11 +82,11 @@ Polymer({ value: null, bindNuclear: function (hass) { return [ - hass.logbookGetters.currentDate, - function (currentDate) { - var dateObj = new Date(currentDate); - return dateObj.toLocaleDateString(); - }, + hass.logbookGetters.currentDate, + function (currentDate) { + var dateObj = new Date(currentDate); + return dateObj.toLocaleDateString(); + }, ]; }, },