aoizoijoizj

Results 6 comments of aoizoijoizj

Thank you very much @janrg . it is very useful ! I need moon rise & set times if you can, Because I didn't find any accurate script like yours...

@marcelstoer No I don't think it is a bug . Because the Moon sometimes sets in the start of day, then it rise again in the same day, then it...

@marcelstoer It is not problem at all, because it gives you the correct events of the moon in the day you have select it, so there is no need for...

@marcelstoer The library in this blog http://conga.oan.es/~alonso/doku.php?id=blog:sun_moon_position Not very accurate, because it calculates `delta T ` in a wrong way The problem is in these lines: ``` if (year <...

Maybe the problem is in time zones. Test this: console.log(suncalc.getTimes(new Date(Date.UTC(1971, 10, 27)), 25.0, 119.0).sunrise); console.log(suncalc.getTimes(new Date(Date.UTC(1971, 10, 27)), 25.0, 120.0).sunrise); console.log(suncalc.getTimes(new Date(Date.UTC(1971, 10, 27)), 25.0, 121.0).sunrise); console.log(suncalc.getTimes(new Date(Date.UTC(1971, 10,...

Also test this in your example `console.log(moon.distance)` It should be 372107 km In suncalc it is 375556 km It's a big difference!