Welcome Guest, Not a member yet? Register   Sign In
Why View Parser Filter not working on Loop Substitutions ?
#1

Hi, i try to make template with view parser ci4

in my case, i have data example like this :
Code:
$data=['blog_entries' => [
                   ['post' => '2020-02-02']
];
 
and i want to change date format to 'd-m-Y' using filter view parser

 
Code:
{blog_entries}
        <div>{post|date(d-m-Y)}</div>
{/blog_entries}

But it doesnt work
Reply


Messages In This Thread
Why View Parser Filter not working on Loop Substitutions ? - by wahmal - 07-12-2020, 04:31 AM



Theme © iAndrew 2016 - Forum software by © MyBB