adding date format checks
Merge pull request #32 from georgejose/feature-date-format-check

adding date format checks