Fix case sensitivity regression in date standard filter

The to_date refactor on Apr 30 removed downcase from the obj switch, this patch adds back a case-insensitive regexp to check for 'now' and 'today' as well as a test for it.
That will throw an error when obj is nil