Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alex290/yii2-datetimepicker
https://github.com/alex290/yii2-datetimepicker
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/alex290/yii2-datetimepicker
- Owner: alex290
- Created: 2020-12-07T06:37:44.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-18T14:01:47.000Z (almost 4 years ago)
- Last Synced: 2024-11-07T23:43:22.269Z (2 months ago)
- Language: PHP
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
yii2-widget-datetimepicker
==========================
The DateTimePicker widget Yii2Installation
------------The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
Either run
```
php composer.phar require --prefer-dist alex290/yii2-datetimepicker "*"
```or add
```
"alex290/yii2-datetimepicker": "*"
```to the require section of your `composer.json` file.
Использование
-----поле $datetime должен быть формата intiger
```php
= $form->field($model, 'datetime')->widget(alex290\datetimepicker\Datepicker::className(),[]) ?>```