aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2011-09-26 16:03:47 +0200
committercedricbonhomme <devnull@localhost>2011-09-26 16:03:47 +0200
commit54e68b95f9850fd628db735d87339979b45cf53f (patch)
tree332464685693ed3e526361c34a3de1c64b11b1eb
parentMinor improvement. Month and year fields are not displayed in the history page. (diff)
downloadnewspipe-54e68b95f9850fd628db735d87339979b45cf53f.tar.gz
newspipe-54e68b95f9850fd628db735d87339979b45cf53f.tar.bz2
newspipe-54e68b95f9850fd628db735d87339979b45cf53f.zip
Bug fix: wrong indice in list slicing.
-rwxr-xr-xpyAggr3g470r.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py
index 75a4febc..9d5c6c5d 100755
--- a/pyAggr3g470r.py
+++ b/pyAggr3g470r.py
@@ -901,7 +901,7 @@ class Root:
target="_blank"><img src="%s" width="28" height="28" /></a></h2>\n""" % \
(feed.feed_id, feed.feed_site_link, feed.feed_title, feed.feed_link, feed.feed_image)
- html += article.article_date.split(' ')[0][:2] + " (" + \
+ html += article.article_date.split(' ')[0][-2:] + " (" + \
article.article_date.split(' ')[1] + ") - " + \
"""<a class="tooltip" href="/article/%s:%s" rel="noreferrer" target="_blank">%s%s%s<span class="classic">%s</span></a>""" % \
(feed.feed_id, article.article_id, not_read_begin, \
bgstack15