Bug #13199: Punctuation of month abbreviation in date()

From: Date: Fri, 07 Sep 2001 18:07:52 +0000
Subject: Bug #13199: Punctuation of month abbreviation in date()
Groups: php.dev 
Request: Send a blank email to php-dev+get-65377@lists.php.net to get a copy of this message
From: mail@scottbrinker.com 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

« previous php.dev (#65377) next »