Updated for the ability to pick dates in leading and trailing month days