From 6c481aa8d0cca6661826782febbf57bad05404b3 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Thu, 27 Aug 2026 05:02:23 -1000 Subject: Date an empty atom feed at the epoch --- source/ui-atom.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source/ui-atom.c') diff --git a/source/ui-atom.c b/source/ui-atom.c index bc13367..6eaa055 100644 --- a/source/ui-atom.c +++ b/source/ui-atom.c @@ -277,9 +277,10 @@ void cgit_print_atom(char *tip, const char *path, int max_count) } if (need_updated) { // Atom makes a feed level updated mandatory, and an empty feed - // has no commit to take one from. + // has no commit to take one from, so the epoch stands in and + // keeps the feed byte for byte stable. html(""); - xml_txt(feed_date(time(NULL))); + xml_txt(feed_date(0)); html("\n"); } html("\n"); -- cgit v2.8.0