fixed front-end date range error
Merge pull request #18 from ajy/fix-date-range

fixed front-end date range error