|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patchestrunk-60089-quickfix (last revision 2011-10-18 21:07 UTC by salathe@php.net)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-10-18 21:03 UTC] salathe@php.net
-Assigned To:
+Assigned To: derickr
[2011-10-18 21:07 UTC] salathe@php.net
[2016-10-05 20:00 UTC] derick@php.net
-Status: Assigned
+Status: Closed
[2016-10-05 20:00 UTC] derick@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 20:00:01 2025 UTC |
Description: ------------ A format string containing a Unix timestamp at any point after a microsecond value leaves the microseconds unset in the resulting DateTime object. Test script: --------------- <?php date_default_timezone_set('UTC'); var_dump(DateTime::createFromFormat('u U', '123456 123456790')->format('U u')); ?> Expected result: ---------------- string(16) "123456790 123456" Actual result: -------------- string(16) "123456790 000000"