From 031548c155d2b9d13db64e5acdc53b9cbd6f98d9 Mon Sep 17 00:00:00 2001 From: Wendelin <12148533+wendevlin@users.noreply.github.com> Date: Tue, 22 Oct 2024 12:25:24 +0200 Subject: [PATCH] Fix old safari but for relative time (#22457) --- src/components/ha-relative-time.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ha-relative-time.ts b/src/components/ha-relative-time.ts index bb42612dd9..cb9cd7d7b1 100644 --- a/src/components/ha-relative-time.ts +++ b/src/components/ha-relative-time.ts @@ -1,6 +1,6 @@ +import { parseISO } from "date-fns"; import type { PropertyValues } from "lit"; import { ReactiveElement } from "lit"; -import { parseISO } from "date-fns"; import { customElement, property } from "lit/decorators"; import { relativeTime } from "../common/datetime/relative_time"; import { capitalizeFirstLetter } from "../common/string/capitalize-first-letter";