Gets or sets a list of narrow day names.
Namespace: MindFusion.Common
File: Locale.js
JavaScript Copy Code |
---|
get narrowDays() {} |
Type: Array
Array
An array of narrow day names.
The following code creates a new Locale instance that uses the dateSettings property to specify the desired date and time formats.
JavaScript Copy Code |
---|
var locale = new Locale("us-2"); locale.dateSettings.firstDayOfWeek = 0; locale.dateSettings.dateFormats.shortDate = "MM/d/yyyy"; locale.dateSettings.generate(); calendar.locale = locale; |