Learning alert being triggered two days in a row
Summary:
Hi all,
We have an issue where the Resource Alert for the assigned courses is being triggered two days in a row for some users. We believe this started after we changed the template to bring the 'assignmentDueDate' and how many days that mean:
${learnerLearningRecords.assignmentDueInFromSystemDate} days (on ${AlertUtils.formatDate(assignmentDueDate,'dd-MMM-yyyy')})
The users are receiving the alert on the day of the assignment, saying that they have 30 days to complete it (which is what is expected), and then another one the following day, mentioning that they have 29 days to complete it (which should not be triggered). However, they don't receive any more alerts on the following days, even if the assignment is not yet completed, which would change the alert to 28, 27 days and so on.