#20960 [Opn->]: Checkdate very illogical
| From: | msopacua@php.net | Date: | Thu, 12 Dec 2002 19:09:36 +0000 |
| Subject: | #20960 [Opn->]: Checkdate very illogical | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-27521@lists.php.net to get a copy of this message | ||
ID: 20960
Updated by: msopacua@php.net
Reported By: john@boxrec.com
-Status: Open
+Status: Won\'t fix
Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 4.2.3
New Comment:
Nobody said Americans are logical people :).
But there's no way this can be changed and not break a lot of scripts
in the real world. Just get used to it.
Previous Comments:
------------------------------------------------------------------------
[2002-12-12 09:43:22] john@boxrec.com
I' ve just spent several wasted hours looking for a blindingly obvious
problem. Checkdate takes it's params in a very illogical way ie
checkdate ( int month, int day, int year)
Surely it should be
checkdate ( int day, int month, int year)
or even
checkdate ( int year, int month, int day)
why on earth month day year ?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20960&edit=1