diff options
Diffstat (limited to 'web/macros.py')
-rw-r--r-- | web/macros.py | 2 |
1 files changed, 1 insertions, 1 deletions
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(): | |||
60 | desc = hx(p.html) | 60 | desc = hx(p.html) |
61 | date = time.mktime(time.strptime('%s 12' % p.date, '%Y-%m-%d %H')) | 61 | date = time.mktime(time.strptime('%s 12' % p.date, '%Y-%m-%d %H')) |
62 | date = email.utils.formatdate(date) | 62 | date = email.utils.formatdate(date) |
63 | items.append(_RSS_ITEM % (p.title, link, desc, date, link)) | 63 | items.append(_RSS_ITEM % (p.title, link, desc, link, date)) |
64 | items = ''.join(items) | 64 | items = ''.join(items) |
65 | title = 'Nagios Plugins' | 65 | title = 'Nagios Plugins' |
66 | link = '%s/news/' % site_url.rstrip('/') | 66 | link = '%s/news/' % site_url.rstrip('/') |