yii|yii DetailView自定义值

$model, 'attributes' => [ 'id', 'username', 'email:email', 'status', [ 'attribute'=>'created_at', 'value' => date('Y-m-d H:i:s',$model->created_at), ], [ 'attribute'=>'updated_at', 'value' => date('Y-m-d H:i:s',$model->updated_at), ], ], ]) ?>

    推荐阅读