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

Fix for issue [#9209](http://www.darktable.org/redmine/issues/9209)