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
parent da57b11b8d
commit b0e6c6e55d

View file

@ -117,7 +117,7 @@
<tr owers="{{bill.owers|join(',','id')}}" payer="{{bill.payer.id}}"> <tr owers="{{bill.owers|join(',','id')}}" payer="{{bill.payer.id}}">
<td> <td>
<span data-toggle="tooltip" data-placement="top" <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 }} {{ bill.date }}
</span> </span>
</td> </td>