Fix date formatting bug.