From 12fbb070908f69d9379be3d03a06eea041778c0d Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Tue, 15 Oct 2013 23:08:44 +0200 Subject: web/macros.py: Fix RSS s (again) The and contents were swapped again. (The same bug had been fixed in an earlier commit and was then reintroduced by accident.) diff --git a/web/macros.py b/web/macros.py index f446378..309e0b4 100644 --- a/web/macros.py +++ b/web/macros.py @@ -60,7 +60,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 % (p.title, link, desc, date, link)) + items.append(_RSS_ITEM % (p.title, link, desc, link, date)) items = ''.join(items) title = 'Nagios Plugins' link = '%s/news/' % site_url.rstrip('/') -- cgit v0.10-9-g596f