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

strftime() is deprecated as of PHP 8.1 #92

Closed
azett opened this issue Dec 18, 2021 · 0 comments
Closed

strftime() is deprecated as of PHP 8.1 #92

azett opened this issue Dec 18, 2021 · 0 comments
Labels
Milestone

Comments

@azett
Copy link
Member

azett commented Dec 18, 2021

Any date format config in FlatPress relies on the strftime() format (with % escape character).
As of PHP 8.1, strftime() is marked as deprecated.

Reported on the support forum by stippi.

To do: Rework all date formats in FlatPress - or at least find a solution to convert strftime() format strings into date() format strings.
May be helpful:

Also: Smarty 2.6.31 uses strftime() as well; need to check when there is an update. May be a good time time to switch to a more recent smarty version? [Update 2022-01-23: Yes, we need to update: #94]

@azett azett added the bug label Dec 18, 2021
@azett azett added PHP 8.1 and removed bug labels Jun 18, 2022
@azett azett added this to the PHP 8.1 compatibility milestone Jul 2, 2022
@azett azett closed this as completed Oct 8, 2022
@azett azett modified the milestones: PHP 8.1 compatibility, FlatPress 1.3 Nov 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant