Use `dateInterval`
authorCyperghost <olaf_schmitz_1@t-online.de>
Thu, 8 Feb 2024 11:56:29 +0000 (12:56 +0100)
committerCyperghost <olaf_schmitz_1@t-online.de>
Thu, 8 Feb 2024 11:56:29 +0000 (12:56 +0100)
wcfsetup/install/files/acp/templates/expiringLicensesAcpDashboardBox.tpl

index b032f9550d0c3356ab47d8fbbf53f017fa700733..b23d608d511c04303a20f9aaa11594c0f740f000 100644 (file)
@@ -5,7 +5,7 @@
                        {foreach from=$expiringLicenses item=date key=packageName}
                                <dl class="plain acpDashboardBox__keyValue">
                                        <dd class="acpDashboardBox__keyValue__key">{$packages[$packageName]}</dd>
-                                       <dt class="acpDashboardBox__keyValue__value">{time time=$date}</dt>
+                                       <dt class="acpDashboardBox__keyValue__value">{dateInterval end=$date}</dt>
                                </dl>
                        {/foreach}
                {/content}