mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Fix off by one day in date input (in calendar) (#14590)
fixes undefined
This commit is contained in:
parent
774259224b
commit
a941ed4f90
@ -57,7 +57,7 @@ export class HaDateInput extends LitElement {
|
||||
readonly
|
||||
@click=${this._openDialog}
|
||||
.value=${this.value
|
||||
? formatDateNumeric(new Date(this.value), this.locale)
|
||||
? formatDateNumeric(new Date(`${this.value}T00:00:00`), this.locale)
|
||||
: ""}
|
||||
.required=${this.required}
|
||||
>
|
||||
|
Loading…
x
Reference in New Issue
Block a user