Req #50084 [Opn->Wfx]: Support a.m. and p.m. (with periods)

From: Date: Wed, 11 Jan 2017 17:36:35 +0000
Subject: Req #50084 [Opn->Wfx]: Support a.m. and p.m. (with periods)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-206533@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=50084&edit=1

 ID:                 50084
 Updated by:         heiglandreas@php.net
 Reported by:        charles dot belov at sfmta dot com
 Summary:            Support a.m. and p.m. (with periods)
-Status:             Open
+Status:             Wont fix
 Type:               Feature/Change Request
 Package:            Date/time related
 Operating System:   FreeBSD
 PHP Version:        5.2.11
 Block user comment: N
 Private report:     N

 New Comment:

This issue is by now more than 7 years old and targets an unsupported version of PHP.

As it is a very special usecase that can be achieved in userland code using f.e.
str_replace('m', '.m.', $date->format('a')) I'm closing this.


Previous Comments:
------------------------------------------------------------------------
[2015-04-01 13:39:57] shanthiswaroop dot k at gmail dot com

This update will be very helpful!

------------------------------------------------------------------------
[2009-11-05 00:50:08] charles dot belov at sfmta dot com

Description:
------------
According to http://php.net/manual/en/function.date.php,
date formatting offers two formats for Ante meridiem and Post meridiem:

a  	Lowercase Ante meridiem and Post meridiem  	am or pm
A 	Uppercase Ante meridiem and Post meridiem 	AM or PM

The Associated Press (AP) Stylebook specifies that these are to be written with a third format:
"a.m." or "p.m." (lower case "am" and "pm" but with
periods).

Please add this format to the possible time formats for Ante meridiem and Post meridiem.



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=50084&edit=1


Thread (4 messages)

« previous php.bugs (#206533) next »