DRY on isDate
Added some demo options
Merge pull request #1 from grahampcharles/code-cleanup

Code cleanup