From f66b69c16b4e6082bd73e316d31ac21288a19493 Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Tue, 14 Nov 2017 11:40:36 -0200 Subject: [PATCH] =?UTF-8?q?HOT-FIX:=20por=20enquanto=20ser=C3=A1=20date()?= =?UTF-8?q?=20e=20n=C3=A3o=20now()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/materia/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapl/materia/views.py b/sapl/materia/views.py index d478a8589..a1359c160 100644 --- a/sapl/materia/views.py +++ b/sapl/materia/views.py @@ -941,7 +941,7 @@ class TramitacaoCrud(MasterDetailCrud): ] = local.unidade_tramitacao_destino.pk else: self.initial['unidade_tramitacao_local'] = '' - self.initial['data_tramitacao'] = timezone.now() + self.initial['data_tramitacao'] = timezone.now().date() return self.initial def get_context_data(self, **kwargs):