From 81f9ad661aac6c4b121562f916c23360c6406e56 Mon Sep 17 00:00:00 2001 From: hchiam Date: Tue, 30 Jul 2024 16:46:39 -0600 Subject: [PATCH] fix(plugins/dates): update regex.js because of dmy option #1132 #1129 --- plugins/dates/src/model/regex.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dates/src/model/regex.js b/plugins/dates/src/model/regex.js index c70486cd8..3c124d94f 100644 --- a/plugins/dates/src/model/regex.js +++ b/plugins/dates/src/model/regex.js @@ -10,7 +10,7 @@ export default [ // @4pm [/^@[1-9]+(am|pm)$/, 'Time', '@5pm'], // 03/02 - [/^(?:0[1-9]|1[0-2])\/(?:0[1-9]|[12]\d|3[01])$/, 'Date', '03/02'], + [/^(?:0[1-9]|[12]\d|3[01])\/(?:0[1-9]|[12]\d|3[01])$/, 'Date', '03/02'], // iso-time // [/^[0-9]{4}[:-][0-9]{2}[:-][0-9]{2}T[0-9]/i, 'Time', 'iso-time-tag']