Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
Wait until calculation fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
manan164 committed Sep 27, 2023
1 parent 1c899db commit ee190d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ void setCallbackAfter(TaskModel task) {
Date expiryDate = parseDate(until);
long timeInMS = expiryDate.getTime();
long now = System.currentTimeMillis();
long seconds = ((timeInMS - now) / 1000) + 1;
long seconds = ((timeInMS - now) / 1000);
if (seconds < 0) {
seconds = 0;
}
Expand Down

0 comments on commit ee190d5

Please sign in to comment.