Dates are being saved properly