|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesOQP (last revision 2019-08-30 15:18 UTC by jmriera at oqpbcn dot com)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2019-08-30 15:18 UTC] jmriera at oqpbcn dot com
[2019-08-30 15:26 UTC] requinix@php.net
-Status: Open
+Status: Not a bug
[2019-08-30 15:26 UTC] requinix@php.net
[2019-09-02 07:24 UTC] jmriera at oqpbcn dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 18 14:00:01 2025 UTC |
Description: ------------ The format method in the date time is formatting wrongly Test script: --------------- $do=DateTime::createFromFormat('F-y','February-18'); echo $do->format("Y-m-d H:i:s").'<br>'; The result is outside of the February month 2018-03-02 16:49:08 Expected result: ---------------- 2018-02-?? ... Actual result: -------------- The result is outside of the February month 2018-03-02 16:49:08