cleanup date formatting, added revert() method to model to reset changes.