forked from MapComplete/MapComplete
Remove some obsolete log commands
This commit is contained in:
parent
bec0597541
commit
31af049dc2
1 changed files with 0 additions and 2 deletions
|
@ -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++) {
|
||||||
|
|
Loading…
Reference in a new issue