Re: Bug #1469: date() formatting characters g and G don't work
| From: | Jim Winstead | Date: | Sun, 30 May 1999 06:19:49 +0000 |
| Subject: | Re: Bug #1469: date() formatting characters g and G don't work | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-6293@lists.php.net to get a copy of this message | ||
Are you sure you're running 3.0.8 (double-check phpinfo())? Works
fine for me here. These formatting characters weren't supported
in earlier versions.
Jim
On May 30, zeekamotay@hotmail.com wrote:
> From: zeekamotay@hotmail.com
> Operating system: RedHat 6.0
> PHP version: 3.0.8
> PHP Bug Type: Misbehaving function
> Bug description: date() formatting characters g and G don't work
>
> The date() function formatting characters g and G don't work as documented.
>
> This script:
> <? echo date("l, F jS h:i a"); ?>
> generates this output:
> Sunday, May 30th 01:42 am
>
> But this script:
> <? echo date("l, F jS g:i a"); ?>
> generates this output:
> Sunday, May 30th g:42 am
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net