]> git.donarmstrong.com Git - infobot.git/commitdiff
* use strftime on the date
authordondelelcaro <dondelelcaro@c11ca15a-4712-0410-83d8-924469b57eb5>
Mon, 15 Sep 2008 20:22:20 +0000 (20:22 +0000)
committerdondelelcaro <dondelelcaro@c11ca15a-4712-0410-83d8-924469b57eb5>
Mon, 15 Sep 2008 20:22:20 +0000 (20:22 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/branches/don/dpkg@1850 c11ca15a-4712-0410-83d8-924469b57eb5

src/Modules/DebianExtra.pl

index 0371711a347bf7856e513ce541b63eefcce19128..98668e6ac7f16ee075b4663492dcc0772bbc7f77 100644 (file)
@@ -110,7 +110,8 @@ sub do_id($) {
     $bug->{severity} =~ s/^(.).+$/$1/;
     $bug->{package} = $result->{package};
     $bug->{reporter} = $result->{submitter};
-    $bug->{date} = $result->{date};
+    use POSIX;
+    $bug->{date} = POSIX::strftime(q(%a, %d %b %Y %H:%M:%S UTC),gmtime($result->{date}));
     $bug->{tags} = $result->{keywords};
     $bug->{done} = defined $result->{done} && length($result->{done}) > 0;
     $bug->{merged_with} = $result->{mergedwith};