Remove some obsolete log commands

This commit is contained in:
Pieter Vander Vennet 2024-01-10 12:25:33 +01:00
parent bec0597541
commit 31af049dc2

View file

@ -679,12 +679,10 @@ This list will be sorted
} }
public static weekdaysIdentical(openingRanges: OpeningRange[][], startday = 0, endday = 4) { public static weekdaysIdentical(openingRanges: OpeningRange[][], startday = 0, endday = 4) {
console.log("Checking identical:", openingRanges)
const monday = openingRanges[startday] const monday = openingRanges[startday]
for (let i = startday + 1; i <= endday; i++) { for (let i = startday + 1; i <= endday; i++) {
let weekday = openingRanges[i] let weekday = openingRanges[i]
if (weekday.length !== monday.length) { if (weekday.length !== monday.length) {
console.log("Mismatched length")
return false return false
} }
for (let j = 0; j < weekday.length; j++) { for (let j = 0; j < weekday.length; j++) {