From fdc8d24c941681f344f999cbb8266e275760db1c Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Wed, 2 Jan 2013 11:26:07 +0100 Subject: Numbers are printed with commas as thousands separators without taking into account the locale of the system. --- source/templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/templates/index.html') diff --git a/source/templates/index.html b/source/templates/index.html index fea71154..7a09e25c 100644 --- a/source/templates/index.html +++ b/source/templates/index.html @@ -21,7 +21,7 @@ import utils not_read_begin, not_read_end = "", "" html += """
%s (%s%s%s / %s)
\n""" % \ (feed["feed_id"], feed["feed_title"], feed["feed_id"], not_read_begin, \ - mongo.nb_unread_articles(feed["feed_id"]), not_read_end, mongo.nb_articles(feed["feed_id"])) + format(mongo.nb_unread_articles(feed["feed_id"]), ',d'), not_read_end, format(mongo.nb_articles(feed["feed_id"]), ',d')) %> %endfor ${html} -- cgit