Skip to content

Commit 1ef1555

Browse files
committed
Add comment with more details
1 parent d16709b commit 1ef1555

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/store/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export default createStore({
106106
.toISOString()
107107
.split("T")[0] + " 23:59:59.999",
108108
) >= new Date(taskList.dueDate + " 23:59:59.999"),
109-
).length; //calculate the number of overdue tasks (tasks after the due date)
109+
).length; //calculate the number of overdue tasks (tasks after the due date) and the date of next midnight from now
110110
let activeTasksMultiplier: number; //calculate score multiplier for number of active tasks (tasks that are not completed)
111111
//calculate task repetition XP multiplier
112112
if (Number(task.repeatInterval) === 1) {

0 commit comments

Comments
 (0)