From: Guillaume Pellerin Date: Sun, 20 Jul 2014 19:48:52 +0000 (+0200) Subject: fix time X-Git-Tag: 2.8.1-pro~282^2~62 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=160c8cd44705513ef3da94fb8eaebeea00658cf1;p=teleforma.git fix time --- 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')