Added date validations to tasks model and fixed empty date formatting issue with tasks
Added something in js we need for dropdown and wrote task date spec in model spec