ID: 20480 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Windows 2000 PHP Version: 4.2.2 New Comment:
This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-11-18 07:37:23] [EMAIL PROTECTED] >From the manual page php.net/strftime: Note: Not all conversion specifiers may be supported by your C library, in which case they will not be supported by PHP's strftime(). This means that e.g. %e, %T and %D (there might be more) will not work on Windows. apperently %R isn't supported either -> doc problem. ------------------------------------------------------------------------ [2002-11-18 07:35:03] [EMAIL PROTECTED] Hi, running on a webserver of our client: Windows 2000, IIS 5, PHP 4.2.2. The command strftime("%R", $timestamp) doesn't display the time as specified in the docs (hh:mm in 24 hours notation), while this does work on our test webserver which is a Linux, Apache, PHP-machine. Substituting this by strftime("%H:%M", $timestamp) does work correctly and has the same result. Thanks, Jonathan ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20480&edit=1 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php