cleaned up date formatting