Filter date() respects active timezone

Fixes bug introduced in Latte 2.2. PR is based on master, but the fix should be cherry-picked for 2.2 as well.

See http://forum.nette.org/en/20332-date-helper-returns-wrong-time-if-date-function-is-used