- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
disableFunc: function (date) {
if ([1].include(date.getDay() + 1)) return true;
var What = new Date(date.getFullYear(), date.getMonth(), date.getDate());
var Min = new Date(2017, 7, 10);
if (Min >= What) return true;
var Max = new Date(2017, 7, 16);
if (Max < What) return true;
return false;
},
Hestia 10.08.2017 13:48 # +2
'What', indeed. Or should I say 'Why'