Localize date-range-picker (#18945)

This commit is contained in:
karwosts
2023-12-19 00:25:56 -08:00
committed by GitHub
parent 883a9e422e
commit 2306234063
3 changed files with 46 additions and 1 deletions

View File

@@ -253,6 +253,7 @@ export class HaDateRangePicker extends LitElement {
opening-direction=${this.openingDirection ||
this._calcedOpeningDirection}
first-day=${firstWeekdayIndex(this.hass.locale)}
language=${this.hass.locale.language}
>
<div slot="input" class="date-range-inputs" @click=${this._handleClick}>
${!this.minimal