mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +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
|
readonly
|
||||||
@click=${this._openDialog}
|
@click=${this._openDialog}
|
||||||
.value=${this.value
|
.value=${this.value
|
||||||
? formatDateNumeric(new Date(this.value), this.locale)
|
? formatDateNumeric(new Date(`${this.value}T00:00:00`), this.locale)
|
||||||
: ""}
|
: ""}
|
||||||
.required=${this.required}
|
.required=${this.required}
|
||||||
>
|
>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user