Skip to content

Commit

Permalink
Merge pull request #21 from kimhyun5u/dev
Browse files Browse the repository at this point in the history
update pivot date
  • Loading branch information
kimhyun5u authored Jan 20, 2023
2 parents 24407ce + e54240c commit 1351d60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async function retrieveData() {

today = new Date()
today.setHours(0, 0, 0, 0);
pivotDate = new Date(today.setDate(today.getDate() - 2));
pivotDate = new Date(today.setDate(today.getDate() - 0));
if (new Date(date) < pivotDate) {
isEnd = true
break;
Expand Down

0 comments on commit 1351d60

Please sign in to comment.