From 1356690c20a28e7265b76d9c4badeba21f7406b8 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Mon, 11 Jul 2016 20:46:05 +0000 Subject: Bug 1283848 - Setting needinfo at time of bug filing results in relative date text of "NeedInfo From: 47 years ago" --- Bugzilla/Flag.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Bugzilla') diff --git a/Bugzilla/Flag.pm b/Bugzilla/Flag.pm index 8ce26aaa8..7e039f077 100644 --- a/Bugzilla/Flag.pm +++ b/Bugzilla/Flag.pm @@ -531,6 +531,8 @@ sub update_flags { # This is a new flag. my $flag = $class->create($new_flag, $timestamp); $new_flag->{id} = $flag->id; + $new_flag->{creation_date} = format_time($timestamp, '%Y.%m.%d %H:%i:%s'); + $new_flag->{modification_date} = format_time($timestamp, '%Y.%m.%d %H:%i:%s'); $class->notify($new_flag, undef, $self, $timestamp); } else { -- cgit v1.2.3-24-g4f1b