#22932 [Opn->Bgs]: date() ->change from AM to PM, WHEN ?
| From: | sniper@php.net | Date: | Thu, 27 Mar 2003 19:13:51 +0000 |
| Subject: | #22932 [Opn->Bgs]: date() ->change from AM to PM, WHEN ? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-36607@lists.php.net to get a copy of this message | ||
ID: 22932
Updated by: sniper@php.net
Reported By: thierry_bo@php.net
-Status: Open
+Status: Bogus
Bug Type: Date/time related
Operating System: win32
PHP Version: 4.3.0
New Comment:
As long as I've known, PM starts at 12:01
Previous Comments:
------------------------------------------------------------------------
[2003-03-27 11:23:38] rich at kastle dot com
FYI my wristwatch currently claims it's 12:24 PM - that's 24 minutes
after Noon.
I think PHP's behavior is correct.
------------------------------------------------------------------------
[2003-03-27 10:52:41] thierry_bo@php.net
Well, I don't know if this a bug or a feature...
Do you see a reason for this :
all consumer products (watches...) displays time of the day with AM
until 12:59 and PM after that (01:00 PM), but the date("a", timestamp)
finction displays "am" until 11:59 and pm after that ?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22932&edit=1