Ero sivun ”Widget:Ice break-up graph” versioiden välillä
Järvi-meriwikistä
Rivi 57: | Rivi 57: | ||
zi++; | zi++; | ||
resultItem = request.query.results[i].printouts; | resultItem = request.query.results[i].printouts; | ||
− | console.log(request.query. | + | console.log(request.query.results[i]); |
obsDate = new Date(toDateFromSecsSince1970(resultItem.Päivämäärä[0].timestamp)); | obsDate = new Date(toDateFromSecsSince1970(resultItem.Päivämäärä[0].timestamp)); | ||
if (obsDate.getFullYear() < firstYear) { firstYear = obsDate.getFullYear(); } | if (obsDate.getFullYear() < firstYear) { firstYear = obsDate.getFullYear(); } |