Change Log
Version 6
General
- picker returns a
DateTime
which is an extended javascriptDate
object. - picker no longer uses jQuery, momentjs, or bootstrap
- events now have interfaces
Configuration
- renamed
tooltip
tolocalization
- renamed
tooltip.prevMonth
tolocalization.previousMonth
- renamed
tooltip.prevYear
tolocalization.previousYear
- renamed
tooltip.prevDecade
tolocalization.previousDecade
- renamed
tooltip.prevCentury
tolocalization.previousCentury
- moved
dayViewHeaderFormat
tolocalization.dayViewHeaderFormat
dayViewHeaderFormat
now takes a javascriptintl
month option, e.g.long
(default)
- renamed
- moved
locale
tolocalization
- removed
useStrict
- removed
timeZone
- removed
format
- added
display.inputFormat
that takesDateTimeFormatOptions
;
- added
- removed
collapse
- removed
extraFormats
- removed
widgetParent
- removed
widgetPositioning
- changed
viewMode
from'times' | 'days'
to'clock' | 'calendar'
- renamed
allowMultidate
andmultidateSeparator
tomultipleDates
andmultipleDatesSeparator
- moved the following to
restrictions
- minDate
- maxDate
- disabledDates
- enabledDates
- daysOfWeekDisabled
- disabledHours
- enabledHours
- readonly
- disabledTimeIntervals
- moved the following to
display
- sideBySide
- calendarWeeks
- viewMode
- toolbarPlacement
- buttons
- widgetPositioning
- icons
- inline
- keepOpen
- disabledTimeIntervals is now an array of
{ from: DateTime, to: DateTime }
- removed check for
dateOptions
on the element data set. jQuery hid allowing an object by looping through the properties - removed
keybindings
- this might come back later - removed
readonly<
- removed
ignoreReadonly<
- removed
focusOnShow<
Styles
Tip: All new css values are in Namespace.Css.*
in the consts.ts
file
- renamed
bootstrap-datetimepicker-widget
totempus-dominus-widget
- renamed
tempusDominus-bootstrap-datetimepicker-widget-with-calendar-weeks
totempus-dominus-with-calendar-weeks
( v5)- removed
.input-group [data-toggle="datetimepicker"]
setting the cursor type to pointer.
- removed
Date
- renamed
datepicker
todate-container
- renamed
datepicker-decades
todate-container-decades
- renamed
datepicker-years
todate-container-years
- renamed
datepicker-months
todate-container-months
- renamed
datepicker-days
todate-container-days
- renamed
prev
toprevious
- renamed
data-day
todata-value
to be consistent with other views
Time
- renamed
usetwentyfour
touseTwentyfour
- renamed
timepicker
totime-container
- renamed
timepicker-hour
totime-container-hour
- renamed
timepicker-minute
totime-container-minute
- renamed
timepicker-second
totime-container-second
Saas
Saas file is now called tempus-dominus.scss
. The "build" file has been deleted as it's
no longer required.
Events
- changed
isInvalid
toisValid
and flipped the boolean (v5) - changed event now emits
undefined
instead of false when the date is being cleared - changed plugin.name from
datetimepicker
totempus-dominus
- changed root data namespace from
datetimepicker
totd
Version 5
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.
Version 4
The changlog from v2-v4 can be read here.