Fix {{ 'now' | date :'%Y' }} support in ruby 1.9