Bug #1469: date() formatting characters g and G don't work
| From: | zeekamotay at hotmail dot com | Date: | Sun, 30 May 1999 04:55:36 +0000 |
| Subject: | Bug #1469: date() formatting characters g and G don't work | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-6292@lists.php.net to get a copy of this message | ||
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