Commit 6b503284 authored by Ahmad Nemati's avatar Ahmad Nemati

git pu

parent e6692ca7
...@@ -64,7 +64,8 @@ async function run() { ...@@ -64,7 +64,8 @@ async function run() {
console.log(arrDate) console.log(arrDate)
console.log(levelSort) console.log(levelSort)
console.log(typeSort) console.log(typeSort)
createfileADV(JSON.stringify(arrDate, null, 2)) console.log(JSON.stringify(arrDate, null, 2))
// createfileADV()
let maxDiff = 0 let maxDiff = 0
for (let i = 0; i < arrDate.length - 1; i++) { for (let i = 0; i < arrDate.length - 1; i++) {
let diff = getDaysDiff(arrDate[i], arrDate[i + 1]) let diff = getDaysDiff(arrDate[i], arrDate[i + 1])
......
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