mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-20 15:56:35 +00:00
this.language -> this.hass.language (#1816)
This commit is contained in:
parent
b129d5fb08
commit
e8ef2fdc2c
@ -160,7 +160,7 @@ class HaPanelHistory extends LocalizeMixin(PolymerElement) {
|
|||||||
// We are unable to parse date because we use intl api to render date
|
// We are unable to parse date because we use intl api to render date
|
||||||
this.$.picker.set("i18n.parseDate", null);
|
this.$.picker.set("i18n.parseDate", null);
|
||||||
this.$.picker.set("i18n.formatDate", (date) =>
|
this.$.picker.set("i18n.formatDate", (date) =>
|
||||||
formatDate(new Date(date.year, date.month, date.day), this.language)
|
formatDate(new Date(date.year, date.month, date.day), this.hass.language)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user