Skip to content

lorgio/jQuery-Timepicker-Addon

 
 

Repository files navigation

jQuery Timepicker Addon

About

Use

I recommend getting the eBook Handling Time as it has a lot of example code to get started. The quick and dirty:

  • To use this plugin you must include jQuery (1.6+) and jQuery UI with datepicker (and optionally slider).
  • Include timepicker-addon script located in the dist directory.
  • now use timepicker with $('#selector').datetimepicker() or $('#selector').timepicker().

Rails 3.1 or greater (with asset pipeline enabled)

I'm lazy and have set this up for the asset pipeline only. If you'd like to backport it, send me a merge request and i'll gladly add it.

//= require jquery-ui-timepicker/jquery-ui-sliderAccess

You obviously need the jquery-ui-rails gem

for the provided CSS add this to your css manifest file

//= require query-ui-timepicker/jquery-ui-timepicker

Contributing Code - Please Read!

  • All code contributions and bug reports are much appreciated.
  • Please be sure to apply your fixes to the "dev" branch.
  • Also note tabs are appreciated over spaces.
  • Please read the CONTRIBUTING.md for more on using Grunt to produce builds.

About

Adds a timepicker to jQueryUI Datepicker

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE.txt
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 92.3%
  • CSS 6.6%
  • Ruby 1.1%