substituted match with test
checks for dates with no time

i was having trouble with dates that have no time attached, so now we test for
YYYY-MM-DD string inputs.
updated minified
version bump
updated tests

tests now work with YYYY-MM-DD date input as well as YYYY-MM-DD HH:MM:SS.