pauld Posted November 22, 2022 Posted November 22, 2022 This is not really a bug, but PHP 8.1 deprecation warning. Smarty function is only supressing this warning: https://github.com/smarty-php/smarty/blob/master/libs/plugins/modifier.date_format.php For locale-independent date time formatting we can use the date() function, but how is that smarty function used in thirtybees templates?
0 wakabayashi Posted November 22, 2022 Posted November 22, 2022 Thanks for the report! On github we know about that:https://github.com/thirtybees/thirtybees/issues/1468. Maybe it's better to discuss the code related stuff there 🙂
0 datakick Posted November 22, 2022 Posted November 22, 2022 This one is something that guys behind smarty library have to figure out. We are just consuments of their library. They can't remove support for date format modifier, as that would break all smarty templates. So they will have to come up with some sort of internal polyfill for strftime function.
Question
pauld
This is not really a bug, but PHP 8.1 deprecation warning.
Smarty function is only supressing this warning: https://github.com/smarty-php/smarty/blob/master/libs/plugins/modifier.date_format.php
For locale-independent date time formatting we can use the date() function, but how is that smarty function used in thirtybees templates?
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now