Skip to content

On 4.1.0, states/attributes that are string formatted dates are not being formatted at all #142

Closed
@SaifAqqad

Description

@SaifAqqad

So basically, if an entity's state or attribute is a string formatted date like: 2020-11-13 17:38:33, and I use format: relative or any other format type, that string is just returned as is instead of making a new Date object with it.

I think it has to do with this line

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions