account_upgrades can't display the end_date for a subscription that's within 24 hours

Wutime

Well-known member
Affected version
2.3
Template: account_upgrades uses:
Code:
<xf:if is="$active.end_date">
    {{ phrase('expires:') }} <xf:date time="{$active.end_date}" />
<xf:else />
    {{ phrase('expires_never') }}
</xf:if>

If the $active.end_date is within 24 hours it displays:

Code:
Expires: tomorrow_at_x

using {{ date($active.end_date) }} will display the date properly.

Please ignore, might not be an issue.
 
Last edited:
Back
Top Bottom