]> granicus.if.org Git - cgit/commitdiff
Use committer date for atom feed entry updated element
authorChris Mayo <aklhfex@gmail.com>
Sat, 25 Sep 2010 12:05:52 +0000 (13:05 +0100)
committerLars Hjemli <hjemli@gmail.com>
Sun, 7 Nov 2010 15:33:41 +0000 (16:33 +0100)
Committer date reflects the most recent change and is used for ordering
the log page (author date is still available in published element of the
feed entry).

Signed-off-by: Chris Mayo <aklhfex@gmail.com>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
ui-atom.c

index 5c854c77b700c823798797d8476c2fe7f46b9daf..9331f74fe87120ab92c39feeb6c7bf517b09445d 100644 (file)
--- a/ui-atom.c
+++ b/ui-atom.c
@@ -24,7 +24,7 @@ void add_entry(struct commit *commit, char *host)
        html_txt(info->subject);
        html("</title>\n");
        html("<updated>");
-       cgit_print_date(info->author_date, FMT_ATOMDATE, 0);
+       cgit_print_date(info->committer_date, FMT_ATOMDATE, 0);
        html("</updated>\n");
        html("<author>\n");
        if (info->author) {