Localize date in the "Added on" tooltip in the list of bills

This commit is contained in:
Baptiste Jonglez 2020-04-26 17:24:33 +02:00 committed by Glandos
parent 384d3eeb2c
commit 8a5193f443

View file

@ -110,7 +110,7 @@
<tr owers="{{bill.owers|join(',','id')}}" payer="{{bill.payer.id}}">
<td>
<span data-toggle="tooltip" data-placement="top"
title="{{ _('Added on %(date)s', date=bill.creation_date if bill.creation_date else bill.date) }}">
title="{{ _('Added on %(date)s', date=bill.creation_date|dateformat("long") if bill.creation_date else bill.date|dateformat("long")) }}">
{{ bill.date }}
</span>
</td>