We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 080840b commit 84ca6ddCopy full SHA for 84ca6dd
src/index.js
@@ -127,7 +127,7 @@ class MultipleEntityRow extends LitElement {
127
capitalize
128
></ha-relative-time>`;
129
}
130
- if (config.format && [TIMESTAMP_FORMATS].includes(config.format)) {
+ if (config.format && TIMESTAMP_FORMATS.includes(config.format)) {
131
const value = config.attribute ? stateObj.attributes[config.attribute] : stateObj.state;
132
const timestamp = new Date(value);
133
if (!(timestamp instanceof Date) || isNaN(timestamp.getTime())) {
0 commit comments