php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #809 date() format "j" not working as documented
Submitted: 1998-10-01 22:48 UTC Modified: 1998-10-02 10:14 UTC
From: okyeron at starnews dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: 3.0.3 OS: Solaris 2.6
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: okyeron at starnews dot com
New email:
PHP Version: OS:

 

 [1998-10-01 22:48 UTC] okyeron at starnews dot com
Attempting to use date("F j, Y", timestamp) to produce "October 1, 1998" does not work. It simply prints the "j" character.

The online documentation states that "j" can be used to return the day of the month without leading zeros.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-10-02 10:14 UTC] zeev
Support for the 'j' directive was added in 3.0.4.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 02:01:31 2024 UTC