aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2011-09-26 15:58:01 +0200
committercedricbonhomme <devnull@localhost>2011-09-26 15:58:01 +0200
commit1335793db095744c12bb5d8d140eb36149732318 (patch)
tree3a262b078891fa644a1749ec98592e6f3c8cb536
parentAdded handle_error() function. (diff)
downloadnewspipe-1335793db095744c12bb5d8d140eb36149732318.tar.gz
newspipe-1335793db095744c12bb5d8d140eb36149732318.tar.bz2
newspipe-1335793db095744c12bb5d8d140eb36149732318.zip
Minor improvement. Month and year fields are not displayed in the history page.
-rwxr-xr-xpyAggr3g470r.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py
index b45a19f6..75a4febc 100755
--- a/pyAggr3g470r.py
+++ b/pyAggr3g470r.py
@@ -901,7 +901,8 @@ 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 + " - " + \
+ 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, \
article_title, not_read_end, description) + like + "<br />\n"
bgstack15