update date validation
Merge pull request #171 from G-Grand/master

update date validation