mirror of
https://github.com/cpvalente/ontime.git
synced 2026-09-03 05:19:08 +00:00
use let not var
This commit is contained in:
@@ -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
|
// 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;
|
const adjustedHour = hour === 12 ? 0 : hour;
|
||||||
|
|
||||||
suffixes.forEach((suffix) => {
|
suffixes.forEach((suffix) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user