|  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
11 - 1 = ?
Subscribe to this entry?

 [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-2022 The PHP Group
All rights reserved.
Last updated: Tue Jan 18 09:03:13 2022 UTC