strftime has been deprecated #254
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: tslocum/tinyib#254
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Since PHP 8.1, all operations print this warning:
Given that this is a third-party library, it can probably just be rebased on the latest upstream version, or
ddde58d420
can be cherrypicked.Additionally, accessing certain pages like the moderation log prints a deprecation warning regarding strftime(), which was deprecated in PHP 8.1. Some alternatives can be found here: https://github.com/modxcms/revolution/issues/15864
Deprecation warning in Translations.php with PHP 8.1to Deprecation warnings with PHP 8.1Thanks for your detailed report. It seems like formatting dates with locale support will require adding a new dependency, the intl extension. I am tempted to simply suppress the warning until they remove it, but I will plan on adding a fallback at some point to properly resolve this. PRs are also welcome.
Deprecation warnings with PHP 8.1to strftime has been deprecated