Search
What's New In This Release
Introduction
General Information
What's New In This Release
Version History
Getting Started
Code Completion With VSDoc IntelliSense
Programming Interface Overview
Tutorials
Reference
Licensing
Online Resources
Technical Support
MindFusion Products

The list below describes recent changes and additions to MindFusion.Scheduling for JavaScript:

## New in version 2.3

### Localization improvements

MindFusion.Scheduling now uses the Intl API (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl) for localized formatting of dates and times. All properties of the Calendar control, that used to contain a format string, should now be set to an Intl.DateTimeFormat options object, e.g.:

JavaScript Copy Code
settings.generalFormat = "dd MMMM";

must be changed to

JavaScript Copy Code
settings.generalFormat = { day: '2-digit', month: 'long' };

The following list contains the fields and values that can be set in the options object:

- weekday: 'narrow' | 'short' | 'long'
- era: 'narrow' | 'short' | 'long'
- year: 'numeric' | '2-digit'
- month: 'numeric' | '2-digit' | 'narrow' | 'short' | 'long'
- day: 'numeric' | '2-digit'
- hour: 'numeric' | '2-digit'
- minute: 'numeric' | '2-digit'
- second: 'numeric' | '2-digit'
- timeZoneName: 'short' | 'long'
- timeZone: 'Asia/Shanghai'
- hour12: true | false
- hourCycle: 'h11' | 'h12' | 'h23' | 'h24'
- formatMatcher: 'basic' | 'best fit'

## New in version 2.2

- repainted event raised after Calendar updates its DOM elements, letting you adjust their content or layout.
- realGroupType property returns the effective GroupType.
- buttonClick event now also raised when calendar is disabled (enabled property set to false).
- Improved React wrapper component in sample projects.
- Fixed exceptions when saving Schedule with recurrent events to JSON.
- Due to problems with some script loaders, the library no longer registers web components automatically. Call the WebComponents.register method to explicitly register component classes.