Don't strip Time info
There is no need to strip the time info from the `created` column. This information might be useful in case of timezone differences or whatever. Let the formatting be done at the template level.
This commit is contained in:
parent
8574a4f3cf
commit
afa9df617b
|
@ -83,7 +83,7 @@ class ModWeblinksHelper
|
|||
|
||||
$model->setState(
|
||||
'list.select',
|
||||
'a.*, c.published AS c_published,' . $case_when1 . ',' . $case_when2 . ',' . 'DATE_FORMAT(a.created, "%Y-%m-%d") AS created'
|
||||
'a.*, c.published AS c_published,' . $case_when1 . ',' . $case_when2
|
||||
);
|
||||
|
||||
$model->setState('filter.c.published', 1);
|
||||
|
|
Loading…
Reference in New Issue