DatePicker persisting valid TimeField value (#4648)
* persisting valid DatePicker TimeField value
* test that fails locally passes on production
* test that fails locally passes on production
* more lint and test cleanup
* moving and refactoring the conditionally valid time logic
* fixing a times called in a test
* picking up the initial spin button change for time segments
* lint equals fix
* changing clearedSegment to a ref since we don't need it to render
* adding current month and year to test