From 11f040858f4ea77c984e3bc027530a33dc62f231 Mon Sep 17 00:00:00 2001 From: Victor Fabre Date: Wed, 22 Aug 2018 18:52:20 -0300 Subject: [PATCH] HOT-FIX: sincroniza protocolo com etiqueta (#2162) --- sapl/relatorios/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapl/relatorios/views.py b/sapl/relatorios/views.py index a540196a3..57752753e 100644 --- a/sapl/relatorios/views.py +++ b/sapl/relatorios/views.py @@ -942,7 +942,7 @@ def get_etiqueta_protocolos(prots): tz_hora = timezone.localtime(p.timestamp) - dic['data'] = 'Data: ' + p.data.strftime( + dic['data'] = 'Data: ' + tz_hora.strftime( "%d/%m/%Y") + ' - HorĂ¡rio: ' + tz_hora.strftime("%H:%M") dic['txt_assunto'] = p.assunto_ementa dic['txt_interessado'] = p.interessado