From 5756ef6f983beacbe3c98a68f163f73c5ea6bf22 Mon Sep 17 00:00:00 2001
From: "Arthur E. Jones" <PartyLich@gmail.com>
Date: Mon, 4 Jul 2022 21:32:46 -0500
Subject: [PATCH] docs: update documentation/comments

---
 .../loot-design/src/components/modals/ImportTransactions.js     | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/packages/loot-design/src/components/modals/ImportTransactions.js b/packages/loot-design/src/components/modals/ImportTransactions.js
index 5f51d5a7d..e1ad225c2 100644
--- a/packages/loot-design/src/components/modals/ImportTransactions.js
+++ b/packages/loot-design/src/components/modals/ImportTransactions.js
@@ -55,6 +55,8 @@ export function parseDate(str, order) {
   let parts = str.replace(/\s+/g, '').match(re[order]);
   if (!parts) return null;
 
+  // We're only interested in the groups so slice the full matched string off
+  // of the array.
   parts = parts.slice(1);
 
   let year, month, day;
-- 
GitLab