Ero sivun ”Widget:Test4” versioiden välillä
Järvi-meriwikistä
Rivi 656: | Rivi 656: | ||
for (var o in memo.obsesA) { | for (var o in memo.obsesA) { | ||
− | mwDate = new Date( memo.obsesA[o].compareDate. | + | mwDate = new Date( memo.obsesA[o].compareDate.getFullYear(), memo.obsesA[o].compareDate.getMonth(), memo.obsesA[o].compareDate.getDate() ); |
w = mwDate.getWeek(); | w = mwDate.getWeek(); | ||
v = memo.obsesA[o].value; | v = memo.obsesA[o].value; |