cgit

commit eca95229acdc3c7c27fdcc1319f5c96da9e3b538

Author: Chris Mayo <aklhfex@gmail.com>

Use committer date for atom feed entry updated element

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 | 2 +-


diff --git a/ui-atom.c b/ui-atom.c
index 5c854c77b700c823798797d8476c2fe7f46b9daf..9331f74fe87120ab92c39feeb6c7bf517b09445d 100644
--- a/ui-atom.c
+++ b/ui-atom.c
@@ -24,7 +24,7 @@ 	html("");
<span class="diff-equal"> 	html_txt(info->subject);</span>
<span class="diff-equal"> 	html("</title>\n");</span>
<span class="diff-equal"> 	html("<updated>");</span>
<span class="diff-delete">-	cgit_print_date(info->author_date, FMT_ATOMDATE, 0);</span>
<span class="diff-add">+	cgit_print_date(info->committer_date, FMT_ATOMDATE, 0);</span>
<span class="diff-equal"> 	html("</updated>\n");</span>
<span class="diff-equal"> 	html("<author>\n");</span>
<span class="diff-equal"> 	if (info->author) {</span>
</pre>
</div>


    </div>
  </body>
</html>