|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-06-23 15:00 UTC] requinix@php.net
-Status: Open
+Status: Duplicate
[2017-06-23 15:00 UTC] requinix@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 08 13:00:01 2025 UTC |
Description: ------------ Invalid formatting datetime with milliseconds from microseconds Test script: --------------- echo (new \DateTimeImmutable('2016-10-07 12:34:22.999600'))->format('Y-m-d\TH:i:s.v'); // I expect 2016-10-07T12:34:22.999 or 2016-10-07T12:34:22.100 but not 2016-10-07T12:34:22.1000