From 291e83677d9259386b4ff11165440da57b5dc4d0 Mon Sep 17 00:00:00 2001 From: npt-1707 Date: Mon, 11 May 2026 07:40:36 +0700 Subject: [PATCH] public/dev/lib/chart.js/Chart.bundle.js: fix rfc2822 regex --- public/dev/lib/chart.js/Chart.bundle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/dev/lib/chart.js/Chart.bundle.js b/public/dev/lib/chart.js/Chart.bundle.js index db74e2fef..6e6ac8c70 100644 --- a/public/dev/lib/chart.js/Chart.bundle.js +++ b/public/dev/lib/chart.js/Chart.bundle.js @@ -3942,7 +3942,7 @@ function untruncateYear(yearStr) { function preprocessRFC2822(s) { // Remove comments and folding whitespace and replace multiple-spaces with a single space - return s.replace(/\([^)]*\)|[\n\t]/g, ' ').replace(/(\s\s+)/g, ' ').trim(); + return s.replace(/\([^()]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, ' ').trim(); } function checkWeekday(weekdayStr, parsedInput, config) {