PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / 1.6.5
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler v1.6.5
1.6.6 1.6.5 1.6.4 1.6.3 1.6.2 1.6.1 1.6.0 1.5.4 1.5.5 1.5.3 1.5.2 1.5.1 1.5.0 1.4.2 1.4.1 1.4.0 1.3.28 1.3.27 1.3.26 1.3.25 1.3.23 1.3.22 1.3.21 1.3.20 1.3.19 All 49 releases
← All changes | app/Views/emails/subscription/trial_end/admin.php +1 -1 1.6.2 → 1.6.5 View file →
@@ -9,9 +9,9 @@
9 9 $reminder = (isset($reminder) && is_array($reminder)) ? $reminder : [];
10 10 $trialEndDate = \FluentCart\Framework\Support\Arr::get($reminder, 'trial_end_date',
11 11 !empty($subscription->trial_ends_at) ? $subscription->trial_ends_at : $subscription->next_billing_date
12 12 );
13 -$trialEndLabel = $trialEndDate ? \FluentCart\App\Services\DateTime\DateTime::gmtToTimezone($trialEndDate)->format('M d, Y h:i A') : '';
13 +$trialEndLabel = \FluentCart\App\Services\DateTime\DateFormatter::format($trialEndDate, true, $order);
14 14 $stage = \FluentCart\Framework\Support\Arr::get($reminder, 'stage', '');
15 15 $daysBefore = preg_replace('/[^0-9]/', '', $stage);
16 16 $daysText = !empty($daysBefore) ? sprintf(__('%d days', 'fluent-cart'), $daysBefore) : '';
17 17 $renewalAmount = $subscription->recurring_total ?? 0;