summaryrefslogtreecommitdiffabout
path: root/ui-atom.c
Side-by-side diff
Diffstat (limited to 'ui-atom.c') (more/less context) (ignore whitespace changes)
-rw-r--r--ui-atom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui-atom.c b/ui-atom.c
index 808b2d0..881872c 100644
--- a/ui-atom.c
+++ b/ui-atom.c
@@ -21,13 +21,13 @@ void add_entry(struct commit *commit, char *host)
hex = sha1_to_hex(commit->object.sha1);
html("<entry>\n");
html("<title>");
html_txt(info->subject);
html("</title>\n");
html("<updated>");
- cgit_print_date(info->author_date, FMT_ATOMDATE, ctx.cfg.local_time);
+ cgit_print_date(info->author_date, FMT_ATOMDATE, 0);
html("</updated>\n");
html("<author>\n");
if (info->author) {
html("<name>");
html_txt(info->author);
html("</name>\n");
@@ -46,13 +46,13 @@ void add_entry(struct commit *commit, char *host)
html_txt(t);
html("</email>\n");
free(mail);
}
html("</author>\n");
html("<published>");
- cgit_print_date(info->author_date, FMT_ATOMDATE, ctx.cfg.local_time);
+ cgit_print_date(info->author_date, FMT_ATOMDATE, 0);
html("</published>\n");
if (host) {
html("<link rel='alternate' type='text/html' href='");
html(cgit_httpscheme());
html_attr(host);
html_attr(cgit_pageurl(ctx.repo->url, "commit", NULL));