php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #18520 strftime('%e') gives no results
Submitted: 2002-07-23 23:03 UTC Modified: 2002-07-24 04:40 UTC
From: ceefour at gauldong dot net Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.2.2 OS: Windows2000 SP3
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ceefour at gauldong dot net
New email:
PHP Version: OS:

 

 [2002-07-23 23:03 UTC] ceefour at gauldong dot net
strftime('%e') gives nothing (empty).

It should output a simple date (like if today is 6 Jan 2002, it should output '6').
I think it only happens in Win2000 or other Windows-related platforms.
My time zone is +0700.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-24 03:22 UTC] derick@php.net
See www.php.net/strftime:

Note:  Not all conversion specifiers may be supported by your C library, in which case they will not be supported by PHP's strftime(). This means that %T and %D will not work on Windows.

Apperently %e doesn't work either -> doc problem.

Derick
 [2002-07-24 04:40 UTC] hholzgra@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.

extended the note in the docs 
(will bundle a bsd style strftime implementation in the future maybe to get rid of  c lib dependencies here)
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jun 10 06:02:02 2025 UTC