Skip to content

Latest commit

 

History

History
executable file
·
37 lines (29 loc) · 1.45 KB

README.md

File metadata and controls

executable file
·
37 lines (29 loc) · 1.45 KB

Datetime Picker Plugin for jQuery

With either Bootstrap Datepicker or Jquery UI DatePicker

[datetime picker screenshot]

Description

I wanted a date time picker similar to the one found on kayak.com. I scoured the web looking for one when finally I can across the example given in Jon Thorton's timepicker.

However, at the time of downloading the example had falling out of sync with the dependant libraies. Plus, I wanted to extend it a little bit farther. For example, I didn't want dates to overlap, or start dates to be before end dates, or durations to show when greater than 24 hours, etc.. So I eventually decided to fork and here we are.

Requirements

If bootstrap datepicker is used

If jquery ui datepicker is used

  • [jQuery UI]

Installation

See the index.html

<p class="datepair" data-language="javascript">
	<input type="text" class="dates start" />
	<input type="text" class="time start" /> to
	<input type="text" class="dates end" />
	<input type="text" class="time end" />
</p>