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
Differences in format letters (specifically "v") make the DateTime format constants unusable for createFromFormat.
Example: DATE_RFC3339_EXTENDED has the value "Y-m-d\TH:i:s.vP".
This predefined format will work for date(), but not for DateTime::createFromFormat, as milliseconds require the format symbol "v".
createFromFormat should support "v" as milliseconds symbol to support the DateTime format constants.
Differences in format letters (specifically "v") make the DateTime format constants unusable for createFromFormat.
Example:
DATE_RFC3339_EXTENDED
has the value"Y-m-d\TH:i:s.vP"
.This predefined format will work for
date()
, but not forDateTime::createFromFormat
, as milliseconds require the format symbol "v".createFromFormat should support "v" as milliseconds symbol to support the DateTime format constants.
Closing the issue, because it is already addressed here https://bugs.php.net/bug.php?id=76009
The text was updated successfully, but these errors were encountered: