aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Mayo <aklhfex@gmail.com>2010-09-25 14:05:52 +0200
committerLars Hjemli <hjemli@gmail.com>2010-11-07 16:33:41 +0100
commiteca95229acdc3c7c27fdcc1319f5c96da9e3b538 (patch)
treebff7778ec43957451b8320c9b252e3147706cbc8
parent69f705cf5727cc1f099f6cd6af759f66bfd9a343 (diff)
downloadcgit-eca95229acdc3c7c27fdcc1319f5c96da9e3b538.tar.gz
cgit-eca95229acdc3c7c27fdcc1319f5c96da9e3b538.tar.xz
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>
-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) {