]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1283848 - Setting needinfo at time of bug filing results in relative date text...
authorDavid Lawrence <dkl@mozilla.com>
Mon, 11 Jul 2016 20:46:05 +0000 (20:46 +0000)
committerDavid Lawrence <dkl@mozilla.com>
Mon, 11 Jul 2016 20:46:05 +0000 (20:46 +0000)
Bugzilla/Flag.pm

index 8ce26aaa8e67cad91cf7d152a894b740e44da2fa..7e039f07741225ca03aab32788ce5db32c95a802 100644 (file)
@@ -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 {