Skip to content

Commit

Permalink
Same day is a function
Browse files Browse the repository at this point in the history
  • Loading branch information
jarofgreen committed Jul 28, 2017
1 parent eda6114 commit 4f3fcce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function getFilters()
public function getFunctions()
{
return array(
new \Twig_SimpleFilter(static::FUNCTION_NAME_SAMEDAY, array($this, 'sameday')),
new \Twig_SimpleFunction(static::FUNCTION_NAME_SAMEDAY, array($this, 'sameday')),
);
}

Expand Down

0 comments on commit 4f3fcce

Please sign in to comment.