Fix regex error on past assignments

It seems that past assignments have a different template than assignments with due dates in the future. This update lets the regex match the due date on the past ones, so that the user gets to see the pretty colors on their past assignments. It also will return the current date if it is unable to find any due date.