Fix date formatting