Code made two attempts to parse but passed the failed result from the first attempt to the second attempt instead of the raw date string.
add unit test for datepicker setDate with string
datepicker parseDate was passing the failed parse results to the seco…
…nd parse try. fixed it.
Looks good to me! Thanks for adding the clarifying name to the tryMomentParseAll function.
build before testing because test tests dist
@futuremint please sanity check now that i moved the dist build before the test.
Yep, should be find as long as browserify:commonjs is still first (its also required for the tests to run)