intersvyaz/yii-bootstrap-datetimepicker

Yii bootstrap datetimepicker widget

1.0.1 2014-05-06 07:14 UTC

This package is auto-updated.

Last update: 2024-12-08 06:32:07 UTC


README

Build Status Scrutinizer Code Quality Code Coverage

Based on https://github.com/smalot/bootstrap-datetimepicker

Install via composer

php composer.phar require intersvyaz/yii-bootstrap-datetimepicker:*

Usage example

$this->widget(
    'Intersvyaz\Widgets\BootstrapDateTimePicker', 
    [
        'name' => 'date',
        'value' => date('d.m.Y'),
        'options' => ['format' => 'dd.mm.yyyy']
    ]
);