From 32f601608f1ceaf36c991b3b92f8702993bf2c8c Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Wed, 26 Aug 2026 23:00:16 -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 2.12.1