From f15cbac17a5264a14bdfebe0226468a48f261c5e Mon Sep 17 00:00:00 2001 From: =?utf8?q?=D0=A1=D0=BA=D0=BE=D0=B2=D0=BE=D1=80=D0=BE=D0=B4=D0=B0=20?= =?utf8?q?=D0=9D=D0=B8=D0=BA=D0=B8=D1=82=D0=B0=20=D0=90=D0=BD=D0=B4=D1=80?= =?utf8?q?=D0=B5=D0=B5=D0=B2=D0=B8=D1=87?= Date: Mon, 14 Nov 2022 08:00:12 +0300 Subject: [PATCH] fix: erroneous regex anchoring in nl locale --- src/locale/nl-be.js | 2 +- src/locale/nl.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/locale/nl-be.js b/src/locale/nl-be.js index a1ab29586..e495ff14b 100644 --- a/src/locale/nl-be.js +++ b/src/locale/nl-be.js @@ -12,7 +12,7 @@ var monthsShortWithDots = monthsParse = [ /^jan/i, /^feb/i, - /^maart|mrt.?$/i, + /^(maart|mrt\.?)$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, diff --git a/src/locale/nl.js b/src/locale/nl.js index 7d0711261..b6d83c353 100644 --- a/src/locale/nl.js +++ b/src/locale/nl.js @@ -12,7 +12,7 @@ var monthsShortWithDots = monthsParse = [ /^jan/i, /^feb/i, - /^maart|mrt.?$/i, + /^(maart|mrt\.?)$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, -- 2.47.2