Fix date formatting on due date (again)

Fixes #834 (again)