Looking at the code, if you're getting broken dates, then the most likely reason is that the expiry date is -1, which means the link is still awaiting payment. There is a bug in the code that causes it to send link expiry notices for links which are still awaiting payment. Here's the fix:
+++ admin/Links/Payment.pm 24 Jan 2005 23:58:59 -0000
@@ -1479,6 +1479,7 @@
'Username', 'Email', 'Name', 'ID', 'Title', 'ExpiryDate',
GT::SQL::Condition->new(
ExpiryDate => '<' => time,
+ ExpiryDate => '>' => UNPAID,
ExpiryNotify => '<' => 2
)
) or die $GT::SQL::error;
Can you check that the link is really expired? If it is, then it's a separate bug.
Adrian
Code:
--- admin/Links/Payment.pm 5 Nov 2004 03:55:15 -0000 1.59.2.6 +++ admin/Links/Payment.pm 24 Jan 2005 23:58:59 -0000
@@ -1479,6 +1479,7 @@
'Username', 'Email', 'Name', 'ID', 'Title', 'ExpiryDate',
GT::SQL::Condition->new(
ExpiryDate => '<' => time,
+ ExpiryDate => '>' => UNPAID,
ExpiryNotify => '<' => 2
)
) or die $GT::SQL::error;
Can you check that the link is really expired? If it is, then it's a separate bug.
Adrian