|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #44580 Additions to date function formats
Submitted: 2008-03-31 13:21 UTC Modified: 2017-01-11 16:16 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: iankomar at gmail dot com Assigned:
Status: Wont fix Package: Date/time related
PHP Version: 5.2.5 OS: Ubuntu
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.
Block user comment
Status: Assign to:
Bug Type:
From: iankomar at gmail dot com
New email:
PHP Version: OS:


 [2008-03-31 13:21 UTC] iankomar at gmail dot com
I would like to see a new way to "show" am/pm (a)in short-hand.. a(for am) and p (for pm).


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-31 00:17 UTC]
-Package: Feature/Change Request +Package: Date/time related
 [2017-01-11 16:16 UTC]
-Status: Open +Status: Wont fix
 [2017-01-11 16:16 UTC]
As this issue is by now more that 8 years old and targets an unsupported version of PHP I'm closing this.

Also the request can easily be handled by userland code like this:

$date = new DateTime();
echo substr($date->format('a'), 0, 1);
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC