Review main Merged

78161[TASK] Use userland strftime() implementation for deprecated PHP function

Benni Mack CR +2 V +2 Hard +234 −17 updated 03/20/23, 15:23

Commit message

This change finally removes all usages to strftime(),
as this function was deprecated in PHP 8.1.
It is recommended to use php-intl to use locale-aware
date formatting.

For places, where no alternative is available
(stdWrap and <f:format.date>),
a polyfill function, which credits to
https://github.com/alphp/strftime
is added to the DateFormatter class.

Kudos to the original autor "BohwaZ" (https://bohwaz.net/)
and the GitHub Repository for allowing us
to use this (MIT license). Open Source rocks!

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 8