Rename all models
This commit is contained in:
@@ -22,7 +22,7 @@ class DateHelper extends Base
|
||||
*/
|
||||
public function time($value)
|
||||
{
|
||||
return date($this->config->get('application_time_format', 'H:i'), $value);
|
||||
return date($this->configModel->get('application_time_format', 'H:i'), $value);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -42,7 +42,7 @@ class DateHelper extends Base
|
||||
$value = strtotime($value);
|
||||
}
|
||||
|
||||
return date($this->config->get('application_date_format', 'm/d/Y'), $value);
|
||||
return date($this->configModel->get('application_date_format', 'm/d/Y'), $value);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -54,7 +54,7 @@ class DateHelper extends Base
|
||||
*/
|
||||
public function datetime($value)
|
||||
{
|
||||
return date($this->config->get('application_datetime_format', 'm/d/Y H:i'), $value);
|
||||
return date($this->configModel->get('application_datetime_format', 'm/d/Y H:i'), $value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user