fix

parent 90f77392
...@@ -17,9 +17,9 @@ $this->params['breadcrumbs'][] = $this->title; ...@@ -17,9 +17,9 @@ $this->params['breadcrumbs'][] = $this->title;
'filterModel' => $searchModel, 'filterModel' => $searchModel,
'columns' => [ 'columns' => [
// ['class' => 'yii\grid\SerialColumn'], // ['class' => 'yii\grid\SerialColumn'],
[ [
'attributes' => 'created_at', 'attribute' => 'created_at',
'value' => function($model) { 'value' => function($model) {
return date('d.m.Y H:i:s', $model->created_at); return date('d.m.Y H:i:s', $model->created_at);
} }
......
...@@ -20,7 +20,7 @@ $this->params['breadcrumbs'][] = $this->title; ...@@ -20,7 +20,7 @@ $this->params['breadcrumbs'][] = $this->title;
// ['class' => 'yii\grid\SerialColumn'], // ['class' => 'yii\grid\SerialColumn'],
[ [
'attributes' => 'created_at', 'attribute' => 'created_at',
'value' => function($model) { 'value' => function($model) {
return date('d.m.Y H:i:s', $model->created_at); return date('d.m.Y H:i:s', $model->created_at);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment