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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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 17 20:01:35 2024 UTC