Skip to content
Snippets Groups Projects
Commit 401ce8d6 authored by alvaro's avatar alvaro
Browse files

Added date filter

parent 7e90167d
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,8 @@ class Haanga_Extension_Filter_Date
{
static function generator($compiler, $args)
{
return hexec('date', $args[1], $args[0]);
// return hexec( 'date', $args[1], hexec('strtotime', $args[1]));
return hexec('date', $args[1], hexec('strtotime', $args[0]));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment