jQuery: The Write Less, Do More JavaScript Library

Ticket #2566 (new enhancement)

Opened 4 months ago

Last modified 4 months ago

24 hour Time Picker Added to UI Datepicker v3.4

Reported by: jdean Assigned to: iMarc
Type: enhancement Priority: major
Milestone: Component: ui
Version: Keywords: calendar date time picker
Cc: Needs: Review

Description

For an internal project we needed a calendar with time picker as well so we have updated UI Datepicker with a 24 hour time picker.

The updated js and css files are attached if anyone wants to use them or incorporate back into a future version of UI Datepicker.

The new date format codes are

HH - Hours
II - Minutes
SS - seconds.
eg: dateFormat: 'yy-mm-dd HH:II:SS',

New parameters

showTime: true,
timePos: 'top' or 'bottom',

New class

datepicker_time

Regards
James Dean
One Reason Pty Ltd

Attachments

ui.datepicker.css (4.2 kB) - added by jdean 4 months ago.
Updated ui.datepicker.css
ui.datepicker.js (68.9 kB) - added by jdean 4 months ago.
Updated ui.datepicker.js

Change History

Changed 4 months ago by jdean

Updated ui.datepicker.css

Changed 4 months ago by jdean

Updated ui.datepicker.js

Changed 4 months ago by paul

  • owner changed from paul to iMarc
Note: See TracTickets for help on using tickets.