From 9a1faf90f43acffcb41f8aab310f19bd3b54c9bc Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Wed, 9 Oct 2013 14:04:53 +0200 Subject: web/macros.py: Fix RSS s The and contents were swapped. diff --git a/web/macros.py b/web/macros.py index eaaf7d9..5964c7b 100644 --- a/web/macros.py +++ b/web/macros.py @@ -47,7 +47,7 @@ def hook_postconvert_rss(): desc = hx(p.html) date = time.mktime(time.strptime('%s 12' % p.date, '%Y-%m-%d %H')) date = email.utils.formatdate(date) - items.append(_RSS_ITEM % (title, link, desc, date, link)) + items.append(_RSS_ITEM % (title, link, desc, link, date)) items = ''.join(items) title = 'Nagios Plugins' link = '%s/news/index.html' % options.base_url.rstrip('/') -- cgit v0.10-9-g596f