fix date picker that broke from datetime changes