diff --git a/sigi/context_processors.py b/sigi/context_processors.py index 6a34092..2dd7c4f 100644 --- a/sigi/context_processors.py +++ b/sigi/context_processors.py @@ -167,7 +167,7 @@ def busca_informacoes_seit(): for tipo_servico in TipoServico.objects.all(): por_mes = [] for mes in range(1,13): - por_mes.append({'mes': '%s/%s' % (mes,datetime.date.today().year), + por_mes.append({'mes': '%02d/%s' % (mes,datetime.date.today().year), 'total': tipo_servico.servico_set.filter(data_desativacao=None, data_ativacao__year=mes_atual.year, data_ativacao__month=mes).count()}) result.append( diff --git a/templates/snippets/modules/charts-convenios.html b/templates/snippets/modules/charts-convenios.html index 37186e3..3f24b5b 100644 --- a/templates/snippets/modules/charts-convenios.html +++ b/templates/snippets/modules/charts-convenios.html @@ -65,12 +65,12 @@
{{ mes.mes }} | {{ mes.total }} |
---|---|
{{ mes.mes }} | {{ mes.total }} |