fixes date validation issue
Merge pull request #10 from rahuldroy/master

fixes date validation issue