Commit 49288285 authored by Ahmad Nemati's avatar Ahmad Nemati

git pu

parent 81ae27e5
...@@ -104,6 +104,7 @@ async function run() { ...@@ -104,6 +104,7 @@ async function run() {
// console.log(arrDate) // console.log(arrDate)
console.log(levelSort) console.log(levelSort)
console.log(typeSort) console.log(typeSort)
console.log(sideSort)
// console.log(JSON.stringify(arrDate, null, 2)) // console.log(JSON.stringify(arrDate, null, 2))
let arrDateSortCount=[] let arrDateSortCount=[]
...@@ -112,7 +113,7 @@ async function run() { ...@@ -112,7 +113,7 @@ async function run() {
for (let j = 0; j < allDates.length; j++) for (let j = 0; j < allDates.length; j++)
if (arrDate[i] === allDates[j]) if (arrDate[i] === allDates[j])
counter++ counter++
arrDateSortCount.push({day: sides[i], count: counter}) arrDateSortCount.push({day: arrDate[i], count: counter})
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment