|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
akg.2020 Smarty n00b
Joined: 22 Aug 2020 Posts: 1
|
Posted: Mon Aug 24, 2020 6:53 am Post subject: Smarty 3.1 Modifiers Not Working |
|
|
Hi,
I am using Smarty 3.1.34. But Some modifier not working like truncate / date_format / capitalize.
I am using date_format.
{$smarty.now|date_format:"%Y-%m-%d"}
But I got warning.
Warning: date_format() expects parameter 1 to be DateTimeInterface, string
Pls anyone give me solution. |
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Wed Aug 26, 2020 1:46 pm Post subject: |
|
|
Please don't multipost. I've deleted your trash topics. |
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Wed Aug 26, 2020 2:04 pm Post subject: |
|
|
It seems, your plugins directory misconfigured and Smarty falling back to existing PHP function by the same name. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|