#Bootstrap v3 datetimepicker widget
##Using Moment.js Version 2 now requires Momentjs. Version 1 can still be found here. Version 2 has better support for date formats and mutilanguage. See documentation for examples. The format strings have changed due to using moment. Check Momentjs' homepage for documentation. You can also get the nuget package from here
####New features (2.1.11)!
- Fix for #51, #60
- Fix for #52: Picker has its own
moment
object since moment 2.4.0 has removed global reference - Fix for #57: New option for
useStrict
. When validating dates inupdate
andchange
, the picker can use a stricter formatting validation - Fix for #61: Picker should now properly take formatted date. Should also have correct start of the week for locales.
- Fix for #62: Default format will properly validate time picker only.
####New features (2.1.5)!
- Custom icons, such as Font Awesome, are now supported. (#49) See Example#9
- If more then one
input-group-addon
is present usedatepickerbutton
to identify where the picker should popup from. (#48) - New Event:
error.dp
. Fires when Moment cannot parse the date or when the timepicker cannot change because of adisabledDates
setting. Returns a Moment date object. The specific error can be found be usinginvalidAt()
. For more information see Moment's docs - Fix for #42, plugin will now check for
A
ora
in the format string to determine if the AM/PM selector should display. - Fix for #45, fixed null/empty and invalid dates
- Fix for #46, fixed active date highlighting
- Fix for #47,
change.dp
event to also include the previous date.
####New features (2.0.1)!
- New event
error.dp
fires when plugin cannot parse date or when increase/descreasing hours/minutes to a disabled date. See Example#7 - Minor fixes
####New features (2.0.0)!
disabledDates
is now an option to set the disabled dates. It accepts date objects likenew Date("November 12, 2013 00:00:00")
and12/25/2013' and
moment` date objects. See Example#7 for usage.- Events are easier to use; see Example#8
###Removed features
- pickSeconds
- pick12HourFormat
- maskInput
Documentation is here with examples and usage.