We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f23b2b commit da682f0Copy full SHA for da682f0
app.py
@@ -251,7 +251,7 @@ def complete_task(task_id) -> Response: # complete task from task id
251
elif days_to_due == 0: # if task due date is today
252
next_midnight: datetime = datetime.combine(
253
datetime.now().date() + timedelta(days=1), datetime.min.time()
254
- )
+ ) # time at next midnight from now
255
due_multiplier = 4 / (
256
1 + (next_midnight - datetime.now()) / timedelta(days=1)
257
) # set due multiplier to 2 and increases over time to 4 at midnight
0 commit comments