Req #51987 [Asn->Csd]: Datetime fails to parse an ISO 8601 ordinal date (extended format)
| From: | derick@php.net | Date: | Fri, 13 May 2022 13:10:50 +0000 |
| Subject: | Req #51987 [Asn->Csd]: Datetime fails to parse an ISO 8601 ordinal date (extended format) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-241484@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=51987&edit=1
ID: 51987
Updated by: derick@php.net
Reported by: jbondc at openmv dot com
Summary: Datetime fails to parse an ISO 8601 ordinal date
(extended format)
-Status: Assigned
+Status: Closed
Type: Feature/Change Request
Package: Date/time related
Operating System: FreeBSD
PHP Version: 7.1
Assigned To: derick
Block user comment: N
Private report: N
New Comment:
Fixed in the through third party timelib library, for inclusion into PHP 8.1.7 (or PHP 8.1.8) and
PHP 8.2 and later.
Previous Comments:
------------------------------------------------------------------------
[2017-03-11 22:37:37] derick@php.net
patches to timelib need to have a PR made against:
https://github.com/derickr/timelib
------------------------------------------------------------------------
[2017-03-11 21:37:27] heiglandreas@php.net
@derick Any chance we can merge this patch or close this as "Wont fix"?
------------------------------------------------------------------------
[2011-01-26 22:49:17] jbondc at openmv dot com
This patch needs:
re2c -d -b -o ext/date/lib/parse_date.c ext/date/lib/parse_date.re
It also fixes tests that were failing in trunk.
I changed the behavior of timelib_parse_from_format() to always initialized seconds, minutes, hours
to 0 if they are not set.
------------------------------------------------------------------------
[2010-06-03 15:38:31] salathe@php.net
Forgive my initial hastiness, I overlooked the fact that doy should always be 3-
digits in length. Sorry!!
------------------------------------------------------------------------
[2010-06-03 15:04:19] derick@php.net
It's a feature request though, *but* before we add it we must be certain that it doesn't
conflict.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=51987
--
Edit this bug report at https://bugs.php.net/bug.php?id=51987&edit=1