Currently the Valid from and valid till date is displayed in the customer area in the format YYYY-MM-DD, it would be nice if this could be displayed in the date format of the customer.
WHMCS already provides a function to convert the date for this, you just have to replace 2 lines in /modules/servers/SSLCENTERWHMCS/controllers/server/clientarea/home.php:
replace line 148:
$vars['validFrom'] = $certificateDetails['valid_from'];
with
$vars['validFrom'] = fromMySQLDate($certificateDetails['valid_from'], false, true);
and line 150:
$vars['validTill'] = $certificateDetails['valid_till'];
with
$vars['validTill'] = fromMySQLDate($certificateDetails['valid_till'],false,true);
Currently the Valid from and valid till date is displayed in the customer area in the format YYYY-MM-DD, it would be nice if this could be displayed in the date format of the customer.
WHMCS already provides a function to convert the date for this, you just have to replace 2 lines in /modules/servers/SSLCENTERWHMCS/controllers/server/clientarea/home.php:
replace line 148:
$vars['validFrom'] = $certificateDetails['valid_from'];
with$vars['validFrom'] = fromMySQLDate($certificateDetails['valid_from'], false, true);
and line 150:
$vars['validTill'] = $certificateDetails['valid_till'];
with$vars['validTill'] = fromMySQLDate($certificateDetails['valid_till'],false,true);