Fixed date formatting in document list

This commit is contained in:
Hillel Coren 2016-05-26 18:28:36 +03:00
parent 94331c2858
commit 7599edbc8c

View File

@ -217,7 +217,7 @@ class DocumentRepository extends BaseRepository
)->toHtml();
})
->addColumn('document_date', function ($model) {
return Utils::fromSqlDate($model->created_at);
return Utils::dateToString($model->created_at);
})
->addColumn('document_size', function ($model) {
return Form::human_filesize($model->size);