#50425 [NEW]: strftime doesn't print day of month
| From: | dlorre at yahoo dot com | Date: | Wed, 09 Dec 2009 11:44:22 +0000 |
| Subject: | #50425 [NEW]: strftime doesn't print day of month | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-145574@lists.php.net to get a copy of this message | ||
From: dlorre at yahoo dot com
Operating system: Windows XP
PHP version: 5.3.1
PHP Bug Type: Date/time related
Bug description: strftime doesn't print day of month
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 bug report at http://bugs.php.net/?id=50425&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50425&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50425&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50425&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=50425&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50425&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=50425&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=50425&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=50425&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=50425&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=50425&r=support
Expected behavior: http://bugs.php.net/fix.php?id=50425&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=50425&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=50425&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=50425&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50425&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=50425&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=50425&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=50425&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=50425&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=50425&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=50425&r=mysqlcfg