Adjust example for minDate in date picker widget

Previous code resulted in the maxDate value to be smaller than the minDate value, which caused the minDate value to be ignored.