fix date display issues

This commit is contained in:
Arnaud Delcasse 2025-06-17 23:24:25 +02:00
parent cfd06dc384
commit d44f7bc6d7
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@
{{if and .ViewState.beneficiary.Data.other_properties .ViewState.beneficiary.Data.other_properties.last_subscription_date}}
<div class="sm:col-span-1">
<dt class="text-sm font-medium text-gray-500">Dernière adhésion</dt>
<dd class="mt-1 text-sm text-gray-900">{{ .ViewState.beneficiary.Data.other_properties.last_subscription_date}}</dd>
<dd class="mt-1 text-sm text-gray-900">{{ (timeFrom .ViewState.beneficiary.Data.other_properties.last_subscription_date).Format "02/01/2006" }}</dd>
</div>
{{end}}
{{if and .ViewState.beneficiary.Data.other_properties .ViewState.beneficiary.Data.other_properties.comment}}