|
@@ -3834,7 +3834,7 @@ function updateProductTotalMessage(billingcycle) {
|
|
|
break;
|
|
break;
|
|
|
case 'annually':
|
|
case 'annually':
|
|
|
console.log(billingcycle);
|
|
console.log(billingcycle);
|
|
|
- let days = daysIntoYear(new Date(now.getFullYear(), 12 + 1, 0)) - daysIntoYear(new Date(now.getFullYear(), now.getMonth(), now.getDate()));
|
|
|
|
|
|
|
+ let days = daysIntoYear(new Date(now.getFullYear() + 1, 1, 0)) - daysIntoYear(new Date(now.getFullYear(), now.getMonth(), now.getDate()));
|
|
|
jQuery('#producttotalmessage').html('Jährlich');
|
|
jQuery('#producttotalmessage').html('Jährlich');
|
|
|
break;
|
|
break;
|
|
|
}
|
|
}
|