adding constraints to the date label