No commit activity in last 3 years
No release in over 3 years
A jQuery timepicker plugin inspired by Google Calendar
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.3
>= 0

Runtime

>= 3.1.0
 Project Readme

jQuery timepicker for Rails

Gem Version

jquery-timepicker and Datepair.js packaged for the Rails 3.1+ asset pipeline. See the jquery-timepicker project home page and the Datepair.js home page.

Installation

Add this line to your application's Gemfile:

gem 'jquery-timepicker-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install jquery-timepicker-rails

Usage

Add the following JavaScript file to app/assets/javascripts/application.js:

//= require jquery.timepicker.js

Add the following stylesheet file to app/assets/stylesheets/application.css:

*= require jquery.timepicker.css

You can also include Datepair.js, and optionally it's accompanying jquery plugin, jquery.datepair.js:

//= require Datepair
//= require jquery.datepair.js

Datepair.js depends on bootstrap-datepicker or jQuery UI Datepicker. jquery-timepicker depends on jQuery.

License

jquery-timepicker is being developed by Jon Thornton and is under MIT license.

This gem is also licensed under MIT license.