jquery-simple-datetimepicker

This is a fantastic calendar, except for one annoying 'feature' - 24hour time
Fortunately, it's an easy fix thanks to one astute user!

junelmujar commented on Aug 25, 2014

This feature already exists in the current build. Poking through the code, I ran into amPmInTimeList option. By setting it to true, you get the 12 hour format or am/pm in the time list. Clicking a particular data & time returns a result in 24 hr format.

Initialization:
$(element).appendDtpicker({ amPmInTimeList : true });

http://mugifly.github.io/jquery-simple-datetimepicker/

Leave a Reply

Your email address will not be published. Required fields are marked *

Shares