Newline behavior for date-range-picker history and logbook (#23710)

This commit is contained in:
libe.net
2025-01-13 08:45:38 +01:00
committed by GitHub
parent 2b8fc04fdc
commit 6dbc04455f

View File

@@ -223,7 +223,7 @@ export class HaDateRangePicker extends LitElement {
this.hass.locale, this.hass.locale,
this.hass.config this.hass.config
)) + )) +
" - \n" + (window.innerWidth >= 459 ? " - " : " - \n") +
(isThisYear(this.endDate) (isThisYear(this.endDate)
? formatShortDateTime( ? formatShortDateTime(
this.endDate, this.endDate,