From 69d2df0f98435840a74047334191f70f4309f11e Mon Sep 17 00:00:00 2001 From: jordan Date: Tue, 28 Dec 2010 15:26:24 +0000 Subject: [PATCH] Fixing a translation bug (made by me... :) git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@649 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/templatetags/extra_tags.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/forum/templatetags/extra_tags.py b/forum/templatetags/extra_tags.py index deb0567..be6ee59 100644 --- a/forum/templatetags/extra_tags.py +++ b/forum/templatetags/extra_tags.py @@ -100,9 +100,9 @@ def diff_date(date, limen=2): if days > 2: if date.year == now.year: - return date.strftime("%s %s %s %s" % (_("%b"), _("%d"), _("at"), "%H:%M")) + return date.strftime(_("%b %d at %H:%M")) else: - return date.strftime("%b %d '%y at %H:%M") + return date.strftime(_("%b %d '%y at %H:%M")) elif days == 2: return _('2 days ago') elif days == 1: -- 2.39.5