ID: 46589
Updated by: [EMAIL PROTECTED]
Reported By: micah_blu at bluprintsmedia dot net
-Status: Open
+Status: Feedback
Bug Type: Date/time related
Operating System: Linux
PHP Version: 5.2.6
New Comment:
Well, if you run in before noon you'll get am. Check your server time
using 24h format instead of the braindead american am/pm crap.
Previous Comments:
------------------------------------------------------------------------
[2008-11-17 05:28:48] micah_blu at bluprintsmedia dot net
Description:
------------
date() function returns wrong am/pm, usually always outputs am instead
of pm
Reproduce code:
---------------
echo date("Y-m-d h:i a");
Expected result:
----------------
//outputs:
2008-11-16 9:26 pm
Actual result:
--------------
//outputs:
2008-11-16 9:26 am
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46589&edit=1