Foppe Hemminga пре 6 година
родитељ
комит
1b03f51999
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      index.php

+ 1 - 1
index.php

@@ -72,7 +72,7 @@
         let items = [];
         let items = [];
         $.each(data, (key, val) => {
         $.each(data, (key, val) => {
             console.log('key:', key, ' val:', val);
             console.log('key:', key, ' val:', val);
-            console.log(moment().subtract(10, 'days').format('YYYY-MM-DD'));
+            console.log(moment().add(10, 'days').format('YYYY-MM-DD'));
             if (c(val["Datum"]) > moment().add(10, 'days').format('YYYY-MM-DD')) {
             if (c(val["Datum"]) > moment().add(10, 'days').format('YYYY-MM-DD')) {
                 return;
                 return;
             }
             }