collect: fix date and add a 'time' filter.

Fix for issue #9209