ID: 26935 User updated by: matthias dot schuetze at bifab dot de Reported By: matthias dot schuetze at bifab dot de -Status: Bogus +Status: Closed Bug Type: Date/time related Operating System: Linux 2.4.24 PHP Version: 4.3.4 New Comment:
Well, you're right: the new behaviour is like the doc says. Since it is different from before and since I didn't find the change comment in the manual I missed that goal. Thank you and have a nice day. Previous Comments: ------------------------------------------------------------------------ [2004-01-16 09:14:34] [EMAIL PROTECTED] Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php In 4.3.0: "- Brought strtotime() "next" keyword handling in line with documentation and its glibc cousin. (Rasmus)" ------------------------------------------------------------------------ [2004-01-16 09:07:28] matthias dot schuetze at bifab dot de Description: ------------ Hi, we switched from PHP 4.2.3 to PHP 4.3.4. The code date("Y-m-d",strtotime("next wednesday")) that yields the correct date as with 4.2.3 now gives the date one week further. Example: today is 2004-01-16; next Wednesday is 2004-01-21, however the above given code results in 2004-01-28. Good luck. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26935&edit=1