From: [EMAIL PROTECTED]
Operating system: Red Hat Linux 7.1
PHP version: 4.0.6
PHP Bug Type: Feature/Change Request
Bug description: Punctuation of month abbreviation in date()
When calling date with format character "M", the three-letter abbreviation
is returned; however, when one wants to place a period after this three
letter abbreviation, there is trouble in May...
For example:
date("M.", $january_date) ====> Jan.
date("M.", $february_date) ===> Feb.
date("M.", $may_date) ========> May. (not an abbreviation!)
I know all of this can be fixed with a few lines of code that checks to see
if the month is May before adding the period, but it seems to me that an
"abbreviated three-letter textual month" format character could be
valuable.
But, then the subject of AP-style abbreviations comes up... Their the list
of months and abbreviations (or lack-thereof) reads:
Jan., Feb., March, April, May, June, July, Aug., Sept., Oct., Nov., Dec.
--
Edit bug report at: http://bugs.php.net/?id=13199&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]