From a9e07a4561d120d93c9e79c6c95bc5c93226ad63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maty=C3=A1=C5=A1=20Volf?= Date: Sat, 21 Feb 2026 13:49:48 +0100 Subject: [PATCH] Pass correct argument to format function --- lib/summary.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/summary.ts b/lib/summary.ts index 722795c..198443c 100644 --- a/lib/summary.ts +++ b/lib/summary.ts @@ -51,7 +51,7 @@ export function getSummary( const toStr = locale === "cs-CZ" - ? toDateTimeString(from) + ? toDateTimeString(to) : to.toLocaleString(locale); return fromStr.concat(separator, toStr, separator, `(${length})`); })