From 895cac3d29c0d8e9c5ebd50e0cd8fd78043b113f Mon Sep 17 00:00:00 2001 From: Richard England Date: Jan 12 2022 05:20:58 +0000 Subject: Add the comment date to the output header text for "card" command --- diff --git a/bot/commands/pagure.pm b/bot/commands/pagure.pm index a18a4ba..49c4a77 100644 --- a/bot/commands/pagure.pm +++ b/bot/commands/pagure.pm @@ -126,7 +126,7 @@ sub card { my $sep = "\n\n\x{2015}\n"; my @lst = map { - $_->{'user'}->{'name'} . ":\n\n" . $_->{'comment'} + $_->{'user'}->{'name'} . " -- " . gmtime($_->{'date_created'}) . " (GMT):\n\n" . $_->{'comment'} } grep { $_->{'comment'} !~ m{^\*\*Metadata |Issue status } } sort {