#46589 [NEW]: am/pm issue
| From: | micah_blu at bluprintsmedia dot net | Date: | Mon, 17 Nov 2008 05:28:48 +0000 |
| Subject: | #46589 [NEW]: am/pm issue | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-131011@lists.php.net to get a copy of this message | ||
From: micah_blu at bluprintsmedia dot net
Operating system: Linux
PHP version: 5.2.6
PHP Bug Type: Date/time related
Bug description: am/pm issue
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 bug report at http://bugs.php.net/?id=46589&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46589&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46589&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46589&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=46589&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=46589&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=46589&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=46589&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=46589&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=46589&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=46589&r=support
Expected behavior: http://bugs.php.net/fix.php?id=46589&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=46589&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=46589&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=46589&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46589&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=46589&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=46589&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=46589&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=46589&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=46589&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=46589&r=mysqlcfg