|
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 |
TedK Smarty n00b
Joined: 12 Sep 2019 Posts: 4
|
Posted: Tue Mar 15, 2022 2:57 pm Post subject: strftime() is deprecated |
|
|
On the latest version of PHP when using: Code: | {$smarty.now|date_format:"%Y"} |
The following warning is printed:
Code: | Function strftime() is deprecated in /vendor/smarty/smarty/libs/plugins/modifier.date_format.php on line 81 |
|
|
Back to top |
|
bsmither Smarty Elite
Joined: 20 Dec 2011 Posts: 322 Location: West Coast
|
Posted: Wed Mar 16, 2022 12:37 am Post subject: |
|
|
Yup. See:
Code: | https://github.com/smarty-php/smarty/issues/671
https://github.com/smarty-php/smarty/issues/672
https://github.com/smarty-php/smarty/pull/678
https://github.com/smarty-php/smarty/issues/729 |
|
|
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
|