Download the PHP package mwsimple/scdatetimepicker-bundle without Composer
On this page you can find all versions of the php package mwsimple/scdatetimepicker-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mwsimple/scdatetimepicker-bundle
More information about mwsimple/scdatetimepicker-bundle
Files in mwsimple/scdatetimepicker-bundle
Package scdatetimepicker-bundle
Short Description Symfony bundle for Bootstrap DateTime picker - Twigv3
License MIT
Informations about the package scdatetimepicker-bundle
DatetimepickerBundle
This bundle implements the Bootstrap DateTime Picker in a Form Type for Symfony 3. The bundle structure is inspired by GenemuFormBundle.
Demo : http://www.malot.fr/bootstrap-datetimepicker/demo.php
Please feel free to contribute, to fork, to send merge request and to create ticket.
Installation
Step 1: Install DatetimepickerBundle
Step 2: Enable the bundle
Step 3: Initialize assets
Usages
Add form_javascript and form_stylesheet
The principle is to separate the javascript, stylesheet and html. This allows better integration of web pages.
Example:
Documentation
The documentation of the datetime picker is here : http://www.malot.fr/bootstrap-datetimepicker/#options
Notes
The date format from is used to set automatically the date format of Symfony in order to make compatible Symfony and JavaScript output. But there are some problems for example with which display "décembre" in PHP intl translation and "Decembre" in Bootstrap translation. That is why I edited js/locales/bootstrap-datetimepicker.fr.js
All versions of scdatetimepicker-bundle with dependencies
symfony/framework-bundle Version ^4.1 || ^5.0 || ^6.0 || ^7.0
symfony/yaml Version ^4.1 || ^5.0 || ^6.0 || ^7.0
symfony/twig-bundle Version ^4.1 || ^5.0 || ^6.0 || ^7.0
symfony/form Version ^4.1 || ^5.0 || ^6.0 || ^7.0