From 160c8cd44705513ef3da94fb8eaebeea00658cf1 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Sun, 20 Jul 2014 21:48:52 +0200 Subject: [PATCH] fix time --- teleforma/views/pro.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teleforma/views/pro.py b/teleforma/views/pro.py index 3533f8b4..b53b0f0c 100644 --- a/teleforma/views/pro.py +++ b/teleforma/views/pro.py @@ -172,7 +172,7 @@ class SeminarView(SeminarAccessMixin, DetailView): elif progress == 100 and validated and self.template_name == 'teleforma/seminar_detail.html': messages.info(self.request, _("You have successfully terminated all steps of your e-learning seminar. You can now download your training testimonial below.")) # set_revision(user, seminar) - context['delta'] = str(self.get_delta(user, seminar)) + context['delta'] = str(self.get_delta(user, seminar)).split('.')[0] return context @jsonrpc_method('teleforma.publish_seminar') -- 2.39.5