ID: 50425 Updated by: [email protected] Reported By: dlorre at yahoo dot com -Status: Open +Status: Bogus Bug Type: Date/time related Operating System: Windows XP PHP Version: 5.3.1 New Comment:
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 That same documentation page also states: "This means that %e, %T, %R and, %D (and possibly others) - as well as dates prior to Jan 1, 1970 - will not work on Windows..." Previous Comments: ------------------------------------------------------------------------ [2009-12-09 11:44:22] dlorre at yahoo dot com Description: ------------ http://fr.php.net/manual/en/function.strftime.php %e Day of the month, with a space preceding single digits 1 to 31 strftime should display the day of the month when %e is specified, it returns blank. Reproduce code: --------------- <?php echo strftime(" Date: %A, %B %e %Y"); echo "<br />" ; echo strftime(" Date: %A, %B %d %Y"); ?> Expected result: ---------------- Date: mercredi, décembre 9 2009 Date: mercredi, décembre 09 2009 Actual result: -------------- Date: mercredi, décembre 2009 Date: mercredi, décembre 09 2009 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=50425&edit=1
