#22932 [Csd->Bgs]: date() ->change from AM to PM, WHEN ?
| From: | sniper@php.net | Date: | Fri, 28 Mar 2003 05:34:12 +0000 |
| Subject: | #22932 [Csd->Bgs]: date() ->change from AM to PM, WHEN ? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-36639@lists.php.net to get a copy of this message | ||
ID: 22932
Updated by: sniper@php.net
Reported By: thierry_bo@php.net
-Status: Closed
+Status: Bogus
Bug Type: Date/time related
Operating System: win32
PHP Version: 4.3.0
New Comment:
Not bug -> bogus.
Previous Comments:
------------------------------------------------------------------------
[2003-03-27 23:29:18] thierry_bo@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Well, sorry for this bug report, it appears that this is consumer
products I use which have a bug.
------------------------------------------------------------------------
[2003-03-27 13:13:50] sniper@php.net
As long as I've known, PM starts at 12:01
------------------------------------------------------------------------
[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