diff options
author | 2009-02-05 18:37:16 +0000 | |
---|---|---|
committer | 2009-02-05 18:37:16 +0000 | |
commit | 7d01cb036c10487b653fd5a74a64f38093a863c7 (patch) | |
tree | c7544e2a35b69f80455fe5e964dda6c018f9e07f /importxml.pl | |
parent | Bug 476943 - Edit multiple issues token after switching to shadow DB (diff) | |
download | bugzilla-7d01cb036c10487b653fd5a74a64f38093a863c7.tar.gz bugzilla-7d01cb036c10487b653fd5a74a64f38093a863c7.tar.bz2 bugzilla-7d01cb036c10487b653fd5a74a64f38093a863c7.zip |
Bug 476889: importxml.pl crashes when importing bugs (Date::Parse::strptime() leave seconds undefined in some cases) - Patch by Frédéric Buclin <LpSolit@gmail.com> r=ghendricks a=LpSolit
Diffstat (limited to 'importxml.pl')
-rwxr-xr-x | importxml.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/importxml.pl b/importxml.pl index fd8c27723..08bf06c93 100755 --- a/importxml.pl +++ b/importxml.pl @@ -567,7 +567,7 @@ sub process_bug { my $comments; $comments .= "\n\n--- Bug imported by $exporter_login "; - $comments .= format_time(localtime(time()), '%Y-%m-%d %H:%M %Z') . " "; + $comments .= format_time(scalar localtime(time()), '%Y-%m-%d %R %Z') . " "; $comments .= " ---\n\n"; $comments .= "This bug was previously known as _bug_ $bug_fields{'bug_id'} at "; $comments .= $urlbase . "show_bug.cgi?id=" . $bug_fields{'bug_id'} . "\n"; |