#20480 [Opn]: strftime("%R") doesn't show the time
| From: | derick@php.net | Date: | Mon, 18 Nov 2002 13:37:23 +0000 |
| Subject: | #20480 [Opn]: strftime("%R") doesn't show the time | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969349770@lists.php.net to get a copy of this message | ||
ID: 20480
Updated by: derick@php.net
Reported By: jonathan@tricolon.com
Status: Open
-Bug Type: Date/time related
+Bug Type: Documentation problem
Operating System: Windows 2000
PHP Version: 4.2.2
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2002-11-18 07:35:03] jonathan@tricolon.com
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