Merge pull request #73 from q6q9/ru-datepicker

русский датапикер
This commit is contained in:
kavalar 2021-11-29 13:50:54 +03:00 committed by GitHub
commit e405b790fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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' => [