We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't know if this was intentional, but thought i'd mention it...
I had a template that had this in it {$smarty.now|date_format:"%Y"-2007} which worked pre v3.1.28
{$smarty.now|date_format:"%Y"-2007}
It was easily fixed by wrapping the date function in brackets like so {($smarty.now|date_format:"%Y")-2007}
{($smarty.now|date_format:"%Y")-2007}
The error was
Uncaught --> Smarty Compiler: Syntax error in template "file:/home/xxxxxxx/public_html/modules/xxxxxxx/views/xxxxxxx.tpl" on line 14 "xxxxxxx {$smarty.now|date_format:"%Y"-2007} xxxxxxx." - Unexpected "-", expected one of: "}" <-- thrown
The text was updated successfully, but these errors were encountered:
- bugfix regression when mdifier parameter was follow by math #132
44eea98
This regression is now fixed in the master branch
Sorry, something went wrong.
No branches or pull requests
Don't know if this was intentional, but thought i'd mention it...
I had a template that had this in it
{$smarty.now|date_format:"%Y"-2007}
which worked pre v3.1.28It was easily fixed by wrapping the date function in brackets like so
{($smarty.now|date_format:"%Y")-2007}
The error was
The text was updated successfully, but these errors were encountered: