]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Meta/cook: show author date in localtime
authorJunio C Hamano <gitster@pobox.com>
Thu, 5 Jun 2025 23:05:01 +0000 (16:05 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Jun 2025 23:05:01 +0000 (16:05 -0700)
cook

diff --git a/cook b/cook
index 77068c1273604a472315cfc13c73c2171aaf7fe5..f717dbba077c35b6654356889860d3c367899e04 100755 (executable)
--- a/cook
+++ b/cook
@@ -205,7 +205,7 @@ sub get_commit {
        my $fh;
        open($fh, '-|',
             qw(git for-each-ref),
-            "--format=%(refname:short) %(committerdate:iso8601)",
+            "--format=%(refname:short) %(authordate:format-local:%Y-%m-%d)",
             "refs/heads/??/*")
            or die "$!: open for-each-ref";
        my @topic;
@@ -840,7 +840,7 @@ sub wildo_queue {
                for ($in_section) {
                        return if (/^Graduated to/ || /^Discarded$/);
                }
-               my $action = $topic->[6] || "Under discussion.";
+               my $action = $topic->[6] || "Unclassified.";
                if (!exists $what->{$action}) {
                        $what->{$action} = [];
                }