Making the date picker smarter.