From 20ceedb3f5330fd30f6acc06d4550b3a5ae1a6dd Mon Sep 17 00:00:00 2001 From: Focuslinkstech <45756999+Focuslinkstech@users.noreply.github.com> Date: Wed, 23 Apr 2025 16:51:43 +0100 Subject: [PATCH] fix: update expiry date format in notification message --- system/controllers/plan.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/controllers/plan.php b/system/controllers/plan.php index 890742a7..896afa74 100644 --- a/system/controllers/plan.php +++ b/system/controllers/plan.php @@ -467,7 +467,7 @@ switch ($action) { $notifyMessage = str_replace('[[company]]', $config['CompanyName'], $notifyMessage); $notifyMessage = str_replace('[[name]]', $customer['fullname'], $notifyMessage); $notifyMessage = str_replace('[[username]]', $customer['username'], $notifyMessage); - $notifyMessage = str_replace('[[expiry]]', date('M d, Y h:i A', strtotime($expiration . ' ' . $time)), $notifyMessage); + $notifyMessage = str_replace('[[expiry]]', date('M d, Y h:i:s', strtotime($expiration . ' ' . $time)), $notifyMessage); $subject = $planName . ' ' . Lang::T('Expiry Extension Notification');