From cc5bb9b6698fea1ba9098ade61a8fea84ec3ecfa Mon Sep 17 00:00:00 2001 From: Leandro Roberto Date: Tue, 27 Aug 2019 10:26:36 -0300 Subject: [PATCH] =?UTF-8?q?Adequa=20formato=20de=20data=20na=20repr=20de?= =?UTF-8?q?=20Doc=20Acess=C3=B3rio?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/materia/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapl/materia/models.py b/sapl/materia/models.py index 5184c491a..fd71acf4f 100644 --- a/sapl/materia/models.py +++ b/sapl/materia/models.py @@ -560,7 +560,7 @@ class DocumentoAcessorio(models.Model): return _('%(tipo)s - %(nome)s de %(data)s por %(autor)s') % { 'tipo': self.tipo, 'nome': self.nome, - 'data': self.data, + 'data': formats.date_format(self.data, "SHORT_DATE_FORMAT"), 'autor': self.autor} def delete(self, using=None, keep_parents=False):