localization.startOfTheWeek. This allows setting the start of the week.numberingSystem to DateTimeFormatOptionsmeta property to options.localization.dayViewHeaderFormat no longer takes a
string but instead accepts a DateTimeFormatOptions. This will allow for more customization. #2420
display.inputFormat now takes a function, not an
Intl format. It has also been moved to hooks.inputFormat By default a function will be executed
that uses Intl to format the selected date(s) based on the selected components.
hooks.inputParseset(value: any, index?: number, from: string = 'date.set') that tries to
conver the value provided and then tries to set that value to the index (or 0 if not
using multidate).
Unit and DateTimeFormatOptions from the DateTime class.togglePeriod to toggleMeridiemtoggleMeridiem class to AM/PM buttonDateTime which is an extended javascript Date object.tooltip to localization
tooltip.prevMonth to localization.previousMonthtooltip.prevYear to localization.previousYeartooltip.prevDecade to localization.previousDecadetooltip.prevCentury to localization.previousCenturydayViewHeaderFormat to localization.dayViewHeaderFormatdayViewHeaderFormat now takes a javascript intl month option, e.g.
long (default)
locale to localization
useStricttimeZoneformat
display.inputFormat that takes DateTimeFormatOptions;collapseextraFormatswidgetParentwidgetPositioningviewMode from 'times' | 'days' to 'clock' |
'calendar'allowMultidate and multidateSeparator to multipleDates and
multipleDatesSeparator
restrictions
display
{ from: DateTime, to: DateTime }
dateOptions on the element data set. jQuery hid allowing an object by looping
through the properties
keybindings - this might come back laterreadonly<ignoreReadonly<focusOnShow<Namespace.Css.*
in the consts.ts filebootstrap-datetimepicker-widget to tempus-dominus-widgettempusDominus-bootstrap-datetimepicker-widget-with-calendar-weeks to tempus-dominus-with-calendar-weeks
(
v5)
.input-group [data-toggle="datetimepicker"] setting the cursor type to
pointer.
datepicker to date-containerdatepicker-decades to date-container-decadesdatepicker-years to date-container-yearsdatepicker-months to date-container-monthsdatepicker-days to date-container-daysprev to previousdata-day to data-value to be consistent with other viewsusetwentyfour to useTwentyfourtimepicker to time-containertimepicker-hour to time-container-hourtimepicker-minute to time-container-minutetimepicker-second to time-container-secondSaas file is now called tempus-dominus.scss. The "build" file has been deleted as it's
no longer required.
isInvalid to isValid and flipped the boolean (v5)undefined instead of false when the date is being cleareddatetimepicker to tempus-dominusdatetimepicker to tdVersion 5 was a rewrite of v4 taking some pending pull requests and fixes along with it. Unfortunately, I didn't do a very good job at documenting those changes.
The changlog from v2-v4 can be read here.