Re: Problems with Date.php 1.3.1 beta
| From: | Pierre-Alain Joye | Date: | Mon, 04 Aug 2003 13:10:11 +0000 |
| Subject: | Re: Problems with Date.php 1.3.1 beta | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-19252@lists.php.net to get a copy of this message | ||
On 04 Aug 2003 11:49:22 +0200
Jan Jonas <jan.jonas@gmx.de> wrote:
> elseif (preg_match('/\d{8}/',$date)) {
> $this->setDate($date.'000000',DATE_FORMAT_TIMESTAMP);
> }
preg_match('/$\d{8}^/',$date) is the way. Thanks to have reported this
bug.
pierre