PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Mail » Mail_Queue » Bug #8661

date stamp wrong in Mail_queue::put()

Details

Submitted2006-09-08 04:24 UTC
Fromrandy at rcs-comp dot com
Assignedquipo
StatusClosed
PackageMail_Queue
PHP Version5.1.6
OSWin XP
Roadmaps(Not assigned)

Comments

[2006-09-08 04:24 UTC] randy at rcs-comp dot com

Description:
------------
On line 410 of queue.php:

$time_to_send = date("Y-m-d G:i:s", time() + $sec_to_send);

should be

$time_to_send = date("Y-m-d H:i:s", time() + $sec_to_send);

Notice that the formating for date() is different. The original version can cause problems with DB comparisons.

Found the bug using sqlite and mdb2 container.