diff options
author | jocuri%softhome.net <> | 2005-01-16 21:36:02 +0000 |
---|---|---|
committer | jocuri%softhome.net <> | 2005-01-16 21:36:02 +0000 |
commit | c1a8053e98fa659ffda19fae799423c1762dbd10 (patch) | |
tree | 73c2a248c499ee3b7a811d3dbca07c14078e3069 /CGI.pl | |
parent | ce3c5ed7f0c8c4426b3717c169674edfe7a16556 (diff) | |
download | bugs-c1a8053e98fa659ffda19fae799423c1762dbd10.tar bugs-c1a8053e98fa659ffda19fae799423c1762dbd10.tar.gz bugs-c1a8053e98fa659ffda19fae799423c1762dbd10.tar.bz2 bugs-c1a8053e98fa659ffda19fae799423c1762dbd10.tar.xz bugs-c1a8053e98fa659ffda19fae799423c1762dbd10.zip |
Patch for bug 103636: Support specifying a date on which a bug is expected to be resolved; patch by Alexandre Michetti Manduca <michetti@grad.icmc.usp.br>, r=jouni, a=myk.
Diffstat (limited to 'CGI.pl')
-rw-r--r-- | CGI.pl | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -358,7 +358,8 @@ sub GetBugActivity { # check if the user should see this field's activity if ($fieldname eq 'remaining_time' || $fieldname eq 'estimated_time' || - $fieldname eq 'work_time') { + $fieldname eq 'work_time' || + $fieldname eq 'deadline') { if (!UserInGroup(Param('timetrackinggroup'))) { $activity_visible = 0; @@ -391,6 +392,11 @@ sub GetBugActivity { $operation = {}; $changes = []; } + + if ($fieldname eq 'deadline') { + $removed = time2str("%Y-%m-%d", str2time($removed)); + $added = time2str("%Y-%m-%d", str2time($added)); + } $operation->{'who'} = $who; $operation->{'when'} = $when; |