set(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 toggleMeridiem
toggleMeridiem
class to AM/PM buttonDateTime
which is an extended javascript Date
object.tooltip
to localization
tooltip.prevMonth
to localization.previousMonth
tooltip.prevYear
to localization.previousYear
tooltip.prevDecade
to localization.previousDecade
tooltip.prevCentury
to localization.previousCentury
dayViewHeaderFormat
to localization.dayViewHeaderFormat
dayViewHeaderFormat
now takes a javascript intl
month option, e.g.
long
(default)
locale
to localization
useStrict
timeZone
format
display.inputFormat
that takes DateTimeFormatOptions
;collapse
extraFormats
widgetParent
widgetPositioning
viewMode
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-widget
tempusDominus-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-container
datepicker-decades
to date-container-decades
datepicker-years
to date-container-years
datepicker-months
to date-container-months
datepicker-days
to date-container-days
prev
to previous
data-day
to data-value
to be consistent with other viewsusetwentyfour
to useTwentyfour
timepicker
to time-container
timepicker-hour
to time-container-hour
timepicker-minute
to time-container-minute
timepicker-second
to time-container-second
Saas 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-dominus
datetimepicker
to td
Version 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.