fix date display issues
This commit is contained in:
@@ -108,7 +108,7 @@
|
|||||||
{{if and .ViewState.beneficiary.Data.other_properties .ViewState.beneficiary.Data.other_properties.last_subscription_date}}
|
{{if and .ViewState.beneficiary.Data.other_properties .ViewState.beneficiary.Data.other_properties.last_subscription_date}}
|
||||||
<div class="sm:col-span-1">
|
<div class="sm:col-span-1">
|
||||||
<dt class="text-sm font-medium text-gray-500">Dernière adhésion</dt>
|
<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>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{if and .ViewState.beneficiary.Data.other_properties .ViewState.beneficiary.Data.other_properties.comment}}
|
{{if and .ViewState.beneficiary.Data.other_properties .ViewState.beneficiary.Data.other_properties.comment}}
|
||||||
|
|||||||
Reference in New Issue
Block a user