From 57165560f89f6df420c7849e77bcf2781c43f0de Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Wed, 4 Jul 2007 20:48:49 -0700 Subject: [PATCH] add a date to the fakemail --- Debbugs/Control.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Debbugs/Control.pm b/Debbugs/Control.pm index 859d5e8d..b74fba28 100644 --- a/Debbugs/Control.pm +++ b/Debbugs/Control.pm @@ -98,6 +98,8 @@ use Params::Validate qw(validate_with :types); use File::Path qw(mkpath); use IO::File; +use POSIX qw(strftime); + # These are a set of options which are common to all of these functions my %common_options = (debug => {type => SCALARREF, @@ -460,12 +462,14 @@ sub __return_append_to_log_options{ } if (not exists $param{message}) { $action = $param{action} if exists $param{action}; + my $date = strftime "%a, %d %h %Y %T +0000", gmtime; $param{message} = <