summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/macros.py2
1 files changed, 1 insertions, 1 deletions
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():
47 desc = hx(p.html) 47 desc = hx(p.html)
48 date = time.mktime(time.strptime('%s 12' % p.date, '%Y-%m-%d %H')) 48 date = time.mktime(time.strptime('%s 12' % p.date, '%Y-%m-%d %H'))
49 date = email.utils.formatdate(date) 49 date = email.utils.formatdate(date)
50 items.append(_RSS_ITEM % (title, link, desc, date, link)) 50 items.append(_RSS_ITEM % (title, link, desc, link, date))
51 items = ''.join(items) 51 items = ''.join(items)
52 title = 'Nagios Plugins' 52 title = 'Nagios Plugins'
53 link = '%s/news/index.html' % options.base_url.rstrip('/') 53 link = '%s/news/index.html' % options.base_url.rstrip('/')