https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7158
--- Comment #10 from Mark Martinec <[email protected]> --- (In reply to Mark Martinec from comment #9) > (In reply to Kevin A. McGrail from comment #2) > > Just throwing away a parameter seems a hack. I think we need to fix the > > calls to the function. > > Indeed. > > The Mail::SpamAssassin::Util::time_to_rfc822_date is just a plain > subroutine, not a method on the $pms object. Its argument should be > a Unix time (integer, seconds), not a $pms followed by a time. This bug was fixed in Bug 7050: r1601527 | kb | 2014-06-10 01:17:43 +0200 (Tue, 10 Jun 2014) | 4 lines Bug 7050, fix _DATE_ Template Tag. Use anonymous sub, calling Util::time_to_rfc822_date() explicitly without any argument. -- You are receiving this mail because: You are the assignee for the bug.
