about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChris Mayo <aklhfex@gmail.com>2010-09-25 13:05:52 +0100
committerLars Hjemli <hjemli@gmail.com>2010-11-07 16:33:41 +0100
commiteca95229acdc3c7c27fdcc1319f5c96da9e3b538 (patch)
treebff7778ec43957451b8320c9b252e3147706cbc8
parentMerge branch 'stable' (diff)
downloadcgit-pink-eca95229acdc3c7c27fdcc1319f5c96da9e3b538.tar.gz
cgit-pink-eca95229acdc3c7c27fdcc1319f5c96da9e3b538.zip
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>
Diffstat (limited to '')
-rw-r--r--ui-atom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-atom.c b/ui-atom.c
index 5c854c7..9331f74 100644
--- 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) {
ollow=1'>Add photos from May 31June McEnroe 2024-06-09Use monospace on photo pagesJune McEnroe 2024-06-09Put lens and (future) film at the tops of photo pagesJune McEnroe 2024-05-22Remove use of sysexits.hJune McEnroe 2024-05-22Add photo descriptions from 05-03 and 05-06June McEnroe 2024-05-21Fix = precedence in whenJune McEnroe