andre il y a 4 ans
Parent
commit
255c68974d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      js/scripts.js

+ 1 - 1
js/scripts.js

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