The function strptime has been marked as deprecated in php8.1.
@davefx suggested a fix in #368 but it makes sense to remove the use of this function entirely rather than only use it on older versions of PHP.
I've tested the suggested fix by @james-allan and confirmed that it works as expected.
How to test this PR
Reviewing the PHPUnit tests or using the manually testing against the function on https://3v4l.org/aqrC1
Fixes #212
Description
The function
strptime
has been marked as deprecated in php8.1. @davefx suggested a fix in #368 but it makes sense to remove the use of this function entirely rather than only use it on older versions of PHP.I've tested the suggested fix by @james-allan and confirmed that it works as expected.
How to test this PR
Reviewing the PHPUnit tests or using the manually testing against the function on https://3v4l.org/aqrC1
Product impact