Skip to content

imjuni/jQuery-Timepicker-Addon

 
 

Repository files navigation

jQuery Timepicker Addon Extension

About

  • Author: [Justin Lee]
  • Twitter: @imjuni

Use

It is extenson of the jquery-ui-timepicker addon. Jquery-ui-timepicker addon is very good addon, but that is totally same input phase format and display phase format. jQuery Timepicker Addon Extension is splited format input phase and display phase.

inputDateFormat and inputTimeFormat is new options. Timepicker has focus, change format inputDateFormat and inputTimeFormat after lose focus, change format dateFormat and timeFormat.

jQuery-ui timepicker addon Extension is mostly same jQuery-ui timepicker addon. so, attach original readme.

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().

There is also a Bower package named jqueryui-timepicker-addon. Beware there are other similar package names that point to forks which may not be current.

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

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 93.8%
  • CSS 6.2%