luca
November 30, 2021, 11:44pm
1
In the PHP docs it says:
Warning: This function has been DEPRECATED as of PHP 8.1.0. Relying on this function is highly discouraged.
Is there a (new) other way of using language specific date handler in Kirby?
In the Kirby docs it still says to set 'date.handler' => 'strftime',
if you need translated month and day names.
Kirby doesn’t fully support PHP 8.1 yet:
getkirby:develop
← getkirby:feature/php-81-support
opened 02:58PM - 30 Nov 21 UTC
## Describe the PR
<!--
A clear and concise description of the bug the PR fixe… s or the feature the PR introduces.
Use this section for review hints and explanations for easier code understanding if necessary.
-->
Adds support for PHP 8.1
### Dependencies
- [ ] Punycode: https://github.com/true/php-punycode/issues/35
- [ ] SimpleImage: https://github.com/claviska/SimpleImage/issues/287
## Release notes
<!--
A concise list of changes to be used in the version release notes.
Please use sub-headings for "Features", "Enhancements", "Fixes"...
-->
### Feature
- Supports PHP 8.1
## Breaking changes
<!--
If PR creates known breaking changes, please list them.
If there are no breaking changes, please write "None".
-->
None
## Related issues/ideas
<!--
PR relates to issues in the `kirby` repo or ideas on `feedback.getkirby.com`:
-->
- https://kirby.nolt.io/381
## Ready?
<!--
If you feel like you can help to check off the following tasks,
that'd be great. If not, don't worry - we will take care of it.
-->
- [ ] Unit tests for fixed bug/feature
- [ ] In-code documentation (wherever needed)
- [ ] CI checks pass
<!--
CI runs automatically when the PR is created. You can also run `composer ci` locally.
Running locally requires PHPUnit, PHP-CS-Fixer, Psalm, PHPCPD and PHPMD.
-->
## When merging
- [ ] Add to [website docs release checklist](https://github.com/getkirby/getkirby.com/pulls) (if needed)
- [ ] Add changes to release notes draft in Notion
2 Likes