#48075 [NEW]: strftime dont return with %p variable after setlocale

From: Date: Sat, 25 Apr 2009 10:27:34 +0000
Subject: #48075 [NEW]: strftime dont return with %p variable after setlocale
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-136227@lists.php.net to get a copy of this message
From: dolorain at gmail dot com Operating system: Windows Vista SP1 PHP version: 5.2.9 PHP Bug Type: Scripting Engine problem Bug description: strftime dont return with %p variable after setlocale Description: ------------ well... First of all sorry for my english I run the following code: setlocale(LC_TIME, 'trk'); echo strftime('%I:%M %p'); well as a result, PM or AM didnt come up. But any locale variable works but trk, i think. I tried with, ENG and US and there is nothing wrong with thouse. Reproduce code: --------------- setlocale(LC_TIME, 'trk'); echo strftime('%I:%M %p'); -- Edit bug report at http://bugs.php.net/?id=48075&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48075&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48075&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48075&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=48075&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48075&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=48075&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=48075&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=48075&r=needscript Try newer version: http://bugs.php.net/fix.php?id=48075&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=48075&r=support Expected behavior: http://bugs.php.net/fix.php?id=48075&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=48075&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=48075&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=48075&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48075&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=48075&r=dst IIS Stability: http://bugs.php.net/fix.php?id=48075&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=48075&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=48075&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=48075&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=48075&r=mysqlcfg

« previous php.bugs (#136227) next »