mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
commit
c4e6fdaeb7
@ -1358,7 +1358,7 @@
|
||||
classes.push('xdsoft_today');
|
||||
}
|
||||
|
||||
if (start.getDay() === 0 || start.getDay() === 6 || options.weekends.indexOf(start.dateFormat(options.formatDate)) === -1) {
|
||||
if (start.getDay() === 0 || start.getDay() === 6 || ~options.weekends.indexOf(start.dateFormat(options.formatDate))) {
|
||||
classes.push('xdsoft_weekend');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user