change company_date helper
This commit is contained in:
parent
dc6cba5f5e
commit
9065ee764f
@ -47,11 +47,7 @@ if (!function_exists('company_date')) {
|
||||
*/
|
||||
function company_date($date)
|
||||
{
|
||||
$date_time = new class() {
|
||||
use DateTime;
|
||||
};
|
||||
|
||||
return Date::parse($date)->format($date_time->getCompanyDateFormat());
|
||||
return Date::parse($date)->format(company_date_format());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user