Skip to content

Commit 793580b

Browse files
committed
Use the time TemplatePlugin and no longer the deprecated time TemplateModifier.
1 parent 567333b commit 793580b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

com.woltlab.wcf/templates/accountSecurity.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888

8989
<dl class="plain inlineDataList small">
9090
<dt>{lang}wcf.user.security.lastActivity{/lang}</dt>
91-
<dd>{if $session->isCurrentSession()}{lang}wcf.user.security.currentSession{/lang}{else}{@$session->getLastActivityTime()|time}{/if}</dd>
91+
<dd>{if $session->isCurrentSession()}{lang}wcf.user.security.currentSession{/lang}{else}{time time=$session->getLastActivityTime()}{/if}</dd>
9292

9393
<dt>{lang}wcf.user.security.ipAddress{/lang}</dt>
9494
<dd title="{$session->getIpAddress()}">{$session->getIpAddress()->toBulletMasked(16, 48)}</dd>

com.woltlab.wcf/templates/paidSubscriptionList.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
<div class="containerContent">
7575
<dl class="plain inlineDataList">
7676
<dt>{lang}wcf.paidSubscription.expires{/lang}</dt>
77-
<dd>{@$userSubscription->endDate|time}</dd>
77+
<dd>{time time=$userSubscription->endDate}</dd>
7878
</dl>
7979
</div>
8080
{/if}

0 commit comments

Comments
 (0)