| @@ -7,11 +7,9 @@ | ||
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | 9 | $renewalAmount = $subscription->recurring_total ?? 0; |
| 10 | 10 | $billingInterval = $subscription->billing_interval ?? ''; |
| 11 | -$accessUntilLabel = !empty($subscription->next_billing_date) | |
| 12 | - ? \FluentCart\App\Services\DateTime\DateTime::gmtToTimezone($subscription->next_billing_date)->format('M d, Y') | |
| 13 | - : ''; | |
| 11 | +$accessUntilLabel = \FluentCart\App\Services\DateTime\DateFormatter::format($subscription->next_billing_date, false, $order); | |
| 14 | 12 | ?> |
| 15 | 13 | |
| 16 | 14 | <div class="space_bottom_30"> |
| 17 | 15 | <p><?php esc_html_e('A subscription has been canceled.', 'fluent-cart'); ?></p> |