From 16101ff8da5257bbb86f30ff9dae08369e5dcd09 Mon Sep 17 00:00:00 2001 From: "travis%sedsystems.ca" <> Date: Wed, 12 Jan 2005 01:15:42 +0000 Subject: Bug 276473: Show_activity merges incorrectly sometimes changesets into one changeset Patch by vladd@bugzilla.org r=bugzilla@glob.com.au a=justdave --- CGI.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'CGI.pl') diff --git a/CGI.pl b/CGI.pl index ecfa670a4..822002957 100644 --- a/CGI.pl +++ b/CGI.pl @@ -281,7 +281,8 @@ sub CheckIfVotedConfirmed { } sub LogActivityEntry { my ($i,$col,$removed,$added,$whoid,$timestamp) = @_; - # in the case of CCs, deps, and keywords, there's a possibility that someone # might try to add or remove a lot of them at once, which might take more + # in the case of CCs, deps, and keywords, there's a possibility that someone + # might try to add or remove a lot of them at once, which might take more # space than the activity table allows. We'll solve this by splitting it # into multiple entries if it's too long. while ($removed || $added) { @@ -331,7 +332,7 @@ sub GetBugActivity { SELECT COALESCE(fielddefs.description, bugs_activity.fieldid), fielddefs.name, bugs_activity.attach_id, - DATE_FORMAT(bugs_activity.bug_when,'%Y.%m.%d %H:%i'), + DATE_FORMAT(bugs_activity.bug_when,'%Y.%m.%d %H:%i:%s'), bugs_activity.removed, bugs_activity.added, profiles.login_name FROM bugs_activity $suppjoins LEFT JOIN fielddefs ON -- cgit v1.2.3-24-g4f1b