Set date restrictions for calendar