From aadd0f18656ee630d7e32b3b865d6266e2f0ac6b Mon Sep 17 00:00:00 2001 From: fturmel <4009209+fturmel@users.noreply.github.com> Date: Tue, 29 Jun 2021 17:24:04 -0400 Subject: [PATCH] Fix unescaped formating string in sk locale See #2083, there is edge case formatting in the sk locale that can return an improperly escaped string and cause a runtime error. --- src/locale/sk/_lib/formatRelative/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/locale/sk/_lib/formatRelative/index.js b/src/locale/sk/_lib/formatRelative/index.js index cbe159e794..e97b919967 100644 --- a/src/locale/sk/_lib/formatRelative/index.js +++ b/src/locale/sk/_lib/formatRelative/index.js @@ -41,7 +41,7 @@ function nextWeek(day) { case 0: /* Sun */ case 4: /* Wed */ case 6 /* Sat */: - return "'budúcu' " + weekday + " 'o' p" + return "'budúcu " + weekday + " o' p" default: return "'budúci' eeee 'o' p" }