Added validation to date format in discounts