nvlad/yii2-bootstrap-datetimepicker
最新稳定版本:1.0
Composer 安装命令:
composer require nvlad/yii2-bootstrap-datetimepicker
包简介
Datetimepicker widget for Yii2 framework
README 文档
README
Datetimepicker widget for Yii2 framework Based on https://github.com/Eonasdan/bootstrap-datetimepicker
NOTE Here might be some bugs or follies. Contribute to remove them ;)
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist trntv/yii2-bootstrap-datetimepicker "*"
or add
"trntv/yii2-bootstrap-datetimepicker": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
<?= $form->field($model, 'attribute')->widget('trntv\yii\datetimepicker\DatetimepickerWidget'); ?>
Options
phpDatetimeFormat - PHP ICU datetime format
momentDatetimeFormat - Moment JS datetime format
clientOptions - http://eonasdan.github.io/bootstrap-datetimepicker/#options
统计信息
- 总下载量: 49
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2015-03-20