Skip to content

Commit 1990472

Browse files
Lock file maintenance (#25838)
* Lock file maintenance
1 parent 299713f commit 1990472

File tree

2 files changed

+455
-423
lines changed

2 files changed

+455
-423
lines changed

src/common/datetime/format_date.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export const formatDateNumeric = (
7777
const month = parts.find((value) => value.type === "month")?.value;
7878
const year = parts.find((value) => value.type === "year")?.value;
7979

80-
const lastPart = parts.at(parts.length - 1);
80+
const lastPart = parts[parts.length - 1];
8181
let lastLiteral = lastPart?.type === "literal" ? lastPart?.value : "";
8282

8383
if (locale.language === "bg" && locale.date_format === DateFormat.YMD) {

0 commit comments

Comments
 (0)