A simple timepicker component for Twitter Bootstrap.
This project is alive again. While the maintainers clean things up, it would be best if you download a release archive from the Releases tab instead of using the HEAD code. The maintainers will be preparing new releases to take care of longstanding issues. Otherwise, fork away or use some of the other excellent timepickers available.
This project is registered as a Bower package, and can be insalled with the following command:
$ bower install bootstrap-timepicker
You can also download our latest release (and any previous release) here.
View demos & documentation.
If you make money using this timepicker, please consider supporting its development.
-
Install NodeJS and Node Package Manager.
-
Install packages
npm install
- Use Bower to get the dev dependencies.
$ bower install
- Use Grunt to run tests, compress assets, etc.
$ grunt test // run jshint and jasmine tests
$ grunt watch // run jsHint and Jasmine tests whenever a file is changed
$ grunt compile // minify the js and css files
$ grunt gh-pages // push updates to gh-pages
$ grunt bump:[patch/minor/major] // bump the version
- Please make it easy on me by covering any new features or issues with Jasmine tests.
- If your changes need documentation, please take the time to update the docs.
Thanks to everyone who have given feedback and submitted pull requests. A list of all the contributors can be found here.
Special thanks to @eternicode and his Twitter Datepicker for inspiration.