Skip to main content Skip to docs navigation

Change Log Archive

On this page

Beta9

Bug Fixes

  • Fixed jQuery provider. #2547
  • Adds options for theme to fix #2522. Big thanks to @matholum.
  • Fixed date view next/back button disabling when it shouldn't. #2595
  • Fixed component disabling issue #2502
  • Changed default useTwentyfourHour to undefined. Now using DateTime.parts() to check if the view date has a "dayPeriod" property #2510
  • Fixed 24-hour 24/0 formatting #2563
  • Fixed none latin number selection in the minute picker #2576
  • Fixed input value to view date object reference #2568

New

  • Add fr locale via #2581
  • Updated and published NuGet package.

Breaking changes

  • Renamed /src/sass to /src/scss to more accurately reflect code.

Beta8

Bug Fixes

  • Fixed view mode. #2583
  • Fixed and simplified options merging #2578

Beta7

Bug Fixes

  • Fixed options mutable. #2487
  • Fixed element toggle when input is disabled #2495
  • Fixed jQuery no conflict #2506
  • Fixed options update #2549

New

  • Added a new example for setting and getting dates.

Beta6

Bug Fixes

  • viewMode is optional #2550

New

  • Introduced a simple overridable function parseInput #2552

6-beta5

Bug Fixes

  • Fixed clear() doesn't erase text of date. #2472
  • Fixed clear button event cycle. #2516
  • Fixed 2 digit formatting. #2513
  • Trigger native change event on input when available - fixes #2401 via #2533
  • Fixes use of SVG icons (issue #2527) via #2529

Version 6-beta4

New

  • Dark mode! The picker now has dark mode when the user's preference is dark.
  • Wrote a tiny service locator/di container in an effort to make plugins better
  • Added a momentjs plugin
  • Added DE, ES, IT, NL, RO locales thanks to @jcompagner via #2484.
  • toggleMeridiem supports a comma separated list. #2399.
  • All event types now provide viewMode which provides 'clock' | 'calendar' | 'months' | 'years' | 'decades' depending what view the event occurred. #2428.

Breaking changes

  • Plugins work a little differently now. Hopefully they are a bit cleaner to work with now
  • Hooks have been removed. Plugins are a better way to handle this. You can look at the momentjs plugin for a guide.
  • Locale loading and authoring has changed a bit as well.
  • ViewUpdateEvent no longer provides change: Unit.

Bug fixes

  • Fixed event 'hide.td' not triggered when input is empty. #2424.
  • Fixed input change event trigger. #2401.
  • Fixed dataset deletion issue. #2483.
  • Fixed month manipulation issue #2474. 2486.
  • Fixed Wrong calendar rendering when startOfTheWeek #2473.
  • Fixed viewMode option not respected (#2466) thanks @jmolinap via #2494.

Version 6-beta3

New

  • Allow to change parent container for the widget via #2462.
  • Moved docs to gh-pages and set up a GitHub action to move compiled docs to that branch.

Bug fixes

  • Issue with time picker only & fixing range example via #2463.
  • Fixed issue with reading the data- attributes. #2430
  • Fixed start of the week option having the incorrect heading. #2443

Version 6-alpha17

Bug fixes

  • Fixed issue with calendar weeks. #2441

Version 6-alpha16

New

  • Started building html migration tool

Bug fixes

  • Fixed issue with daysOfWeekDisabled. #2419
  • Fixed issue with reading the data- attributes. #2430
  • Fixed start of the week option having the incorrect heading. #2443

Version 6-alpha15

New

  • Added localization.startOfTheWeek. This allows setting the start of the week.
  • Added numberingSystem to DateTimeFormatOptions
  • Added meta property to options.

Bug fixes

  • Fixed issue with 24 hour display formatting. #2414
  • Fixed default input change formatting function to check for empty dates. #2411
  • Fixed an issue with the unsubscribe method typing. #2411
  • Fixed an issue where the picker would try to update the clock view even it wasn't enabled. #2438
  • Fixed an issue using a time component would not go back to the clock view. #2431
  • The picker will return to the view date and show the calendar or clock after being reopened. #2410
  • Fixed clock/calendar switching to wait until the other view is ready before switching. #2421
  • Fixed the options interface so all properties are optionsal. #2439
  • BREAKING localization.dayViewHeaderFormat no longer takes a string but instead accepts a DateTimeFormatOptions. This will allow for more customization. #2420

Version 6-alpha14

New

  • Cleaned up css a bit. Got rid of the popper arrow and aligned the picker to the start of the element.
  • BREAKING 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.
  • Added hooks.inputParse
  • Merged number localization Thanks @hkvstore #2408

Bug fixes

  • Merged a fix for parsing issue from comparing constructor names. Thanks @faatihi #2408
  • Fixed doc issue
  • Fixed input value for real this time. #2387
  • Fixed keepOpen
  • Fixed widget positioning with rtl #2400

Version 6-alpha1.0.13

New

  • Created a new method 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).
  • Added esm output
  • Exposed Unit and DateTimeFormatOptions from the DateTime class.
  • Renamed togglePeriod to toggleMeridiem
  • Added toggleMeridiem class to AM/PM button
  • Cleaned up css a bit. Got rid of the popper arrow and aligned the picker to the start of the element.

Bug fixes

  • Fixed dealing with input values/changes.
  • Fixed issue when calling hide if the widget hasn't been built (or shown) yet.
  • Fixed meridiem issue. Thanks @hkvstore #2398
  • Merged PR 2396 to fix 24 hour hour selection. #2395
  • Fixed issue with time component grid. #2395

Version 6-alpha1.0.4

Bug fixes

  • Fixed issue with meridiem (AM/PM) button clicks.

Version 6-alpha1.0.3

Bug fixes

  • Fixed year display after selecting a decade. #2386
  • Fixed issue if the input field had a value. #2387
  • Fixed setting the defaultDate option with a Date object. #2391

Version 6-alpha1

General

  • picker returns a DateTime which is an extended javascript Date object.
  • picker no longer uses jQuery, momentjs, or bootstrap
  • events now have interfaces

Configuration

  • renamed tooltip to localization
    • renamed tooltip.prevMonth to localization.previousMonth
    • renamed tooltip.prevYear to localization.previousYear
    • renamed tooltip.prevDecade to localization.previousDecade
    • renamed tooltip.prevCentury to localization.previousCentury
    • moved dayViewHeaderFormat to localization.dayViewHeaderFormat
    • dayViewHeaderFormat now takes a javascript intl month option, e.g. long (default)
  • moved locale to localization
  • removed useStrict
  • removed timeZone
  • removed format
    • added display.inputFormat that takes DateTimeFormatOptions;
  • removed collapse
  • removed extraFormats
  • removed widgetParent
  • removed widgetPositioning
  • changed viewMode from 'times' | 'days' to 'clock' | 'calendar'
  • renamed allowMultidate and multidateSeparator to multipleDates and multipleDatesSeparator
  • 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 to tempus-dominus-widget
  • renamed tempusDominus-bootstrap-datetimepicker-widget-with-calendar-weeks to tempus-dominus-with-calendar-weeks ( v5)
    • removed .input-group [data-toggle="datetimepicker"] setting the cursor type to pointer.
Date
  • renamed datepicker to date-container
  • renamed datepicker-decades to date-container-decades
  • renamed datepicker-years to date-container-years
  • renamed datepicker-months to date-container-months
  • renamed datepicker-days to date-container-days
  • renamed prev to previous
  • renamed data-day to data-value to be consistent with other views
Time
  • renamed usetwentyfour to useTwentyfour
  • renamed timepicker to time-container
  • renamed timepicker-hour to time-container-hour
  • renamed timepicker-minute to time-container-minute
  • renamed timepicker-second to time-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 to isValid and flipped the boolean (v5)
  • changed event now emits undefined instead of false when the date is being cleared
  • changed plugin.name from datetimepicker to tempus-dominus
  • changed root data namespace from datetimepicker to td

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 chang log from v2-v4 can be read here.