simplify restrictions on date picker