This bundle provides a fully-featured datetime picker field.
Add the dependency to your composer.json
"require": {
...
"felipyamorim/bootstrap-datetime-picker-bundle" : "dev-master"
}
Register the bundle class in your AppKernel.php
public function registerBundles()
{
$bundles = array(
...
new FelipyAmorim\BootstraoDateTimePickerBundle\FelipyAmorimBootstraoDateTimePickerBundle(),
...
);
}
Install assets
Symfony 3:
$ php bin/console install:assets
Symfony 2:
$ php app/console install:assets
All done!
MIT