Open Hacky-The-Sheep opened 2 years ago
Thanks for the heads-up - looks like IntlDateFormatter::format
is the recommended new way. Would you be interested in submitting a PR to use it instead of strftime
? 🙏
I used strftime
originally because DateTime::format is not locale-dependent. But I did not notice there's IntlDateFormatter
instead.
PHP@8.1 shows the function strftime() is deprecated. When attempting to generate, causes errors.
Will look into the simplest way to ensure future compatibility.