Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

With Php 8.1 : : Function strftime() is deprecated #763

Closed
piolet opened this issue May 28, 2022 · 3 comments
Closed

With Php 8.1 : : Function strftime() is deprecated #763

piolet opened this issue May 28, 2022 · 3 comments

Comments

@piolet
Copy link

piolet commented May 28, 2022

Since PHP 8.1, strftime is depcrecated but, in this modifier, it's still used :

return strftime($format, $timestamp);

You can use IntlDateFormatter or DateTimeImmutable::createFromFormat to replace it : https://php.watch/versions/8.1/strftime-gmstrftime-deprecated

@wisskid
Copy link
Contributor

wisskid commented May 28, 2022

Duplicate of a few existing issues.

@wisskid wisskid closed this as completed May 28, 2022
@piolet
Copy link
Author

piolet commented May 28, 2022

Which existing issue ?
The ones I found did not mention this module. At least, it seems to me.

@wisskid
Copy link
Contributor

wisskid commented May 28, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants