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})`); })