mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-09 10:59:50 +00:00
Fix off by one day in date input (in calendar) (#14590)
fixes undefined
This commit is contained in:
@@ -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}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user