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.getFullYear(), memo.obsesA[o].compareDate.getMonth(), memo.obsesA[o].compareDate.getDate() ); | + | mwDate = new Date( memo.obsesA[o].compareDate.getFullYear(), memo.obsesA[o].compareDate.getMonth(), memo.obsesA[o].compareDate.getDate(), 12 ); |
− | w = | + | w = mwDate.getWeek(); |
v = memo.obsesA[o].value; | v = memo.obsesA[o].value; | ||