Ero sivun ”Widget:XJwCharts” versioiden välillä
Järvi-meriwikistä
Rivi 40: | Rivi 40: | ||
var cdate = new Date( now.getFullYear(), obs.obsdatetime.getMonth(), obs.obsdatetime.getDate() ); | var cdate = new Date( now.getFullYear(), obs.obsdatetime.getMonth(), obs.obsdatetime.getDate() ); | ||
− | var days = ( cdate.getTime() - now.getTime() ) / ( 1000*60*60*24 | + | var days = ( cdate.getTime() - now.getTime() ) / ( 1000*60*60*24 ); |
firstW = Math.min( firstW, winter ); lastW = Math.min( lastW, winter ); | firstW = Math.min( firstW, winter ); lastW = Math.min( lastW, winter ); |