November 22, 20224 yr 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?
November 22, 20224 yr 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 🙂
November 22, 20224 yr 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.
Create an account or sign in to comment