summaryrefslogtreecommitdiffstats
path: root/CGI.pl
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-01-12 02:15:42 +0100
committertravis%sedsystems.ca <>2005-01-12 02:15:42 +0100
commit16101ff8da5257bbb86f30ff9dae08369e5dcd09 (patch)
tree91d90ac7b53a6290806ca32f376db9f39b1304c7 /CGI.pl
parent4f5cad994b3786713c79b831e3af48ea7fe3a9b0 (diff)
downloadbugzilla-16101ff8da5257bbb86f30ff9dae08369e5dcd09.tar.gz
bugzilla-16101ff8da5257bbb86f30ff9dae08369e5dcd09.tar.xz
Bug 276473: Show_activity merges incorrectly sometimes changesets into one changeset
Patch by vladd@bugzilla.org r=bugzilla@glob.com.au a=justdave
Diffstat (limited to 'CGI.pl')
-rw-r--r--CGI.pl5
1 files changed, 3 insertions, 2 deletions
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