You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On 27 December 2021 07:49:06 GMT, Damian Wadley ***@***.***> wrote:
See https://bugs.php.net/bug.php?id=79685, which I had changed to a doc bug but I'll let someone else make that decision here.
It should be a doc bug here too. The format parser doesn't backtrack and is greedy, so for the G it tries to read at most two characters. And then there isn't enough left for i and s.
Description
While '60101' is a valid date in 'Gis' format (06:01:01), parsing it with date_parse_from_format will result in an error.
Resulted in this output:
PHP Version
PHP 8.1.1 (cli) (built: Dec 21 2021 19:35:25)
Operating System
docker image php:8.1-cli
The text was updated successfully, but these errors were encountered: