Added date range selection function
Fix merge conflict in testscan
dates in category table