summaryrefslogtreecommitdiffstats
path: root/importxml.pl
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-08-28 06:26:13 +0200
committerlpsolit%gmail.com <>2008-08-28 06:26:13 +0200
commit55596ef8c29ae876c718946d54de787f32033db0 (patch)
tree5a09a8373f1e9e268f96caf7ee85e8bf2fee59f4 /importxml.pl
parentef56c491a65eed9dfddb2866c5faa59acb69b0ed (diff)
downloadbugzilla-55596ef8c29ae876c718946d54de787f32033db0.tar.gz
bugzilla-55596ef8c29ae876c718946d54de787f32033db0.tar.xz
Bug 399070: Remove the 'timezone' parameter - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'importxml.pl')
-rwxr-xr-ximportxml.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/importxml.pl b/importxml.pl
index 6b0c043b4..d2ff9cc67 100755
--- a/importxml.pl
+++ b/importxml.pl
@@ -571,8 +571,7 @@ sub process_bug {
my $comments;
$comments .= "\n\n--- Bug imported by $exporter_login ";
- $comments .= time2str( "%Y-%m-%d %H:%M", time ) . " ";
- $comments .= $params->{'timezone'};
+ $comments .= format_time(localtime(time()), '%Y-%m-%d %H:%M %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";