Fixed the dates not being stored properly in the DB