When I choose period in Spring or Autumn including DST days ( 23 Hours on Spring and 25 on Autumn). This way we have wrong days count.
I fixed it by changing Math.round function to ceil. It's working well in CET zone, maybe it might need some adjustments for other time zones.
jquery.daterangepicker.js:1736
function checkSelectionValid()
{
var days = Math.ceil( (opt.end - opt.start) / 86400000 ) + 1;
When I choose period in Spring or Autumn including DST days ( 23 Hours on Spring and 25 on Autumn). This way we have wrong days count. I fixed it by changing Math.round function to ceil. It's working well in CET zone, maybe it might need some adjustments for other time zones. jquery.daterangepicker.js:1736 function checkSelectionValid() { var days = Math.ceil( (opt.end - opt.start) / 86400000 ) + 1;