summaryrefslogtreecommitdiffstats
path: root/CGI.pl
diff options
context:
space:
mode:
Diffstat (limited to 'CGI.pl')
-rw-r--r--CGI.pl8
1 files changed, 7 insertions, 1 deletions
diff --git a/CGI.pl b/CGI.pl
index 822002957..165e5216c 100644
--- a/CGI.pl
+++ b/CGI.pl
@@ -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;