From 4c4f5ebc80e0d5917c435079f5d60c18db996d49 Mon Sep 17 00:00:00 2001 From: david-rocca Date: Tue, 3 Mar 2026 12:22:25 -0500 Subject: [PATCH] Change a little bit of validation --- src/utils/utils.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/utils/utils.js b/src/utils/utils.js index 355f5178e..e9491a763 100644 --- a/src/utils/utils.js +++ b/src/utils/utils.js @@ -218,8 +218,7 @@ function convertDatesToISO (obj, dateKeys) { // Helper function to check if a string is a valid date function isStringDate (value) { - const date = new Date(value) - return !isNaN(date.getTime()) + return DateTime.fromISO(value).isValid } function updateDateValue (objectToUpdate, key, value) {