Ero sivun ”Widget:JwObsCharts2” versioiden välillä
Järvi-meriwikistä
Rivi 1 096: | Rivi 1 096: | ||
for (var o in memo.obsesA) { | for (var o in memo.obsesA) { | ||
if ( memo.obsesA[o].printouts.ObsCode == memo.refcode ) { | if ( memo.obsesA[o].printouts.ObsCode == memo.refcode ) { | ||
− | console.log( memo. | + | |
− | console.log( memo.obsesA[o]. | + | console.log( memo.curSeason ); |
+ | console.log( memo.obsesA[o].data.week ); | ||
− | memo.obsesA[o].compareDate = getDateOfISOWeek( memo.obsesA[o]. | + | memo.obsesA[o].compareDate = getDateOfISOWeek( memo.obsesA[o].data.week, memo.curSeason ); |
} | } | ||
} | } |