quick hack to fix date selection

My untested assumption is that activating the date picker without updating the options as done in line 510 is why you are having issues. Specifically, the `altField` setting is modified on input focus. If this isn't done then the date picker will target the wrong element.