fix a single date picker bug

fix a single date picker bug