Fix the mailbox (#17582)

This commit is contained in:
Simon Lamon 2023-08-15 14:04:23 +02:00 committed by GitHub
parent 54a9f4592c
commit 917b7bd1dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -207,7 +207,8 @@ class HaPanelMailbox extends EventsMixin(LocalizeMixin(PolymerElement)) {
for (let i = 0; i < arrayLength; i++) {
const datetime = formatDateTime(
new Date(values[i].info.origtime * 1000),
this.hass.locale
this.hass.locale,
this.hass.config
);
platformItems.push({
timestamp: datetime,