diff --git a/apps/client/src/common/utils/__tests__/dateConfig.test.js b/apps/client/src/common/utils/__tests__/dateConfig.test.js index a11e41f69..d45e49985 100644 --- a/apps/client/src/common/utils/__tests__/dateConfig.test.js +++ b/apps/client/src/common/utils/__tests__/dateConfig.test.js @@ -121,7 +121,7 @@ describe('test forgivingStringToMillis()', () => { ]; // dynamically build up string formats for all hours and some minute/second values with a/am/p/pm tacked on space and no space and upper/lower case - for (var hour = 1; hour <= 12; hour += 1) { + for (let hour = 1; hour <= 12; hour += 1) { const adjustedHour = hour === 12 ? 0 : hour; suffixes.forEach((suffix) => {