Re: [PATCH] Fix date() bug
| From: | Hannes Magnusson | Date: | Sat, 27 Sep 2008 09:28:35 +0000 |
| Subject: | Re: [PATCH] Fix date() bug | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-40735@lists.php.net to get a copy of this message | ||
On Sat, Sep 27, 2008 at 09:04, Ilia Cheishvili
<ilia.cheishvili@gmail.com> wrote:
> Hi all,
> This patch addresses the issue with the date() function. When passing in a
> 'u', the date() function simply outputs six zeros. To fix this, I added a
"Note: Since this function only accepts integer timestamps the u
format character is only useful when using the date_format() function
with user based timestamps created with date_create(). " ?
-Hannes