Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Depricated warning #824

Closed
AlexPaterson opened this issue Oct 26, 2022 · 4 comments
Closed

Depricated warning #824

AlexPaterson opened this issue Oct 26, 2022 · 4 comments

Comments

@AlexPaterson
Copy link

Deprecated: Function strftime() is deprecated in /var/***/Smarty/smarty-4.2.1/libs/plugins/modifier.date_format.php on line 81

@klaoun
Copy link

klaoun commented Oct 26, 2022

return @strftime($format, $timestamp);

@bhsmither
Copy link

If you are able to modify the source template, do not use the %X collection of date/time specifiers, but rather use the equivalent php function date() single-character specifiers.

@TK200KM
Copy link

TK200KM commented Nov 4, 2022

We should be allowed to use the modifier 'date_format'. There isn't anything more to say.

@wisskid
Copy link
Member

wisskid commented Nov 23, 2022

Fixed in #811

@wisskid wisskid closed this as completed Nov 23, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants