A simple timepicker component for Twitter Bootstrap.
Old version docs: View demos & documentation.
Do not forget to update bootstrap classes from 2.x to 3.0 like in Bootstrap's documentation. For examle, code for first demo:
<div class="input-group bootstrap-timepicker">
<input id="newEmployeesUpdaterTime" type="text" class="form-control">
<span class="input-group-addon"><i class="glyphicon glyphicon-time"></i></span>
</div>
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
- 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.