]> git.ipfire.org Git - dbl.git/commitdiff
dnsbl: Show update time rather than creation time
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 22 Dec 2025 09:53:48 +0000 (09:53 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 22 Dec 2025 09:53:48 +0000 (09:53 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/scripts/dnsbl.in

index d87cda70a16049367077082e1b139c5289834324..841e63a058be82adb79652c3287dd31e88890060 100644 (file)
@@ -191,8 +191,7 @@ class CLI(object):
                table.add_column(_("Name"))
                table.add_column(_("Slug"))
                table.add_column(_("License"))
-               table.add_column(_("Created At"))
-               table.add_column(_("Created By"))
+               table.add_column(_("Last Updated"))
                table.add_column(_("Listed Unique Domains"))
 
                # Show all lists
@@ -201,8 +200,7 @@ class CLI(object):
                                list.name,
                                list.slug,
                                list.license,
-                               list.created_at.isoformat(),
-                               list.created_by,
+                               list.updated_at.isoformat() if list.updated_at else _("N/A"),
                                "%s" % len(list),
                        )