Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.zx2c4.com/cgit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Mayo <aklhfex@gmail.com>2010-09-25 16:05:52 +0400
committerLars Hjemli <hjemli@gmail.com>2010-11-07 18:33:41 +0300
commiteca95229acdc3c7c27fdcc1319f5c96da9e3b538 (patch)
treebff7778ec43957451b8320c9b252e3147706cbc8 /ui-atom.c
parent69f705cf5727cc1f099f6cd6af759f66bfd9a343 (diff)
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 'ui-atom.c')
-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) {