From 19a2a3c18e4d743d0882cb6600cb457fe1bf3466 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 10 Oct 2017 16:06:40 +0200 Subject: [PATCH] fix "open" label (#19286) --- combo_plugin_gnm/templatetags/gnm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/combo_plugin_gnm/templatetags/gnm.py b/combo_plugin_gnm/templatetags/gnm.py index 6cbbbbe..193f476 100644 --- a/combo_plugin_gnm/templatetags/gnm.py +++ b/combo_plugin_gnm/templatetags/gnm.py @@ -89,7 +89,7 @@ def as_opening_hours_badge(data): klass = 'soon-to-be-closed' else: klass = 'open' - label = 'Ouvert jusque %sh%02d' % (slots[0].end.hour, slots[0].end.minute) + label = u"Ouvert jusqu'à %sh%02d" % (slots[0].end.hour, slots[0].end.minute) return mark_safe('
%s
' % (klass, label))