Time filters

Fixes #3026