PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

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.