i18n.weekdays
Since: DateTime 1.0.0
Text used to indicate the days of the week.
Please note - this property requires the DateTime extension for DataTables.
Description
As standard DateTime will use the values detailed above within the calendar to represent each of the days of the week.
Type
Default
- Value:
[ 'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat' ]
An array containing abbreviated values for the days of the week.
Example
French values for days of the week:
$(document).ready(function () {
new DateTime(document.getElementById('test'), {
i18n: {
weekdays: ['Dim', 'Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Dim']
}
});
});