diff --git a/src/panels/developer-tools/state/developer-tools-state.js b/src/panels/developer-tools/state/developer-tools-state.js index 7b8fb28753..1fe00ee0fd 100644 --- a/src/panels/developer-tools/state/developer-tools-state.js +++ b/src/panels/developer-tools/state/developer-tools-state.js @@ -628,14 +628,16 @@ class HaPanelDevState extends EventsMixin(LocalizeMixin(PolymerElement)) { lastChangedString(entity) { return formatDateTimeWithSeconds( new Date(entity.last_changed), - this.hass.locale + this.hass.locale, + this.hass.config ); } lastUpdatedString(entity) { return formatDateTimeWithSeconds( new Date(entity.last_updated), - this.hass.locale + this.hass.locale, + this.hass.config ); }