русский датапикер

This commit is contained in:
anatolidew 2021-11-29 13:22:25 +03:00
parent 8e490ce518
commit e742c582bc
2 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,7 @@ $this->registerCss('.list-cell__task{width:73%}')
echo '<b>Дата заполнения отчета:</b>'; echo '<b>Дата заполнения отчета:</b>';
echo DatePicker::widget([ echo DatePicker::widget([
'model' => $model, 'model' => $model,
'language' => 'ru',
'attribute' => 'created_at', 'attribute' => 'created_at',
'options' => [], 'options' => [],
'pluginOptions' => [ 'pluginOptions' => [

View File

@ -28,6 +28,7 @@ $this->registerCss('.list-cell__task{width:73%}')
echo '<b>Дата заполнения отчета:</b>'; echo '<b>Дата заполнения отчета:</b>';
echo DatePicker::widget([ echo DatePicker::widget([
'model' => $model, 'model' => $model,
'language' => 'ru',
'attribute' => 'created_at', 'attribute' => 'created_at',
'options' => [], 'options' => [],
'pluginOptions' => [ 'pluginOptions' => [