You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello Vladimir, thank you for this great tool actually,
I would ask if you could direct me to calculate some specific time, for afternoon prayer, which is the middle of noon (solarNoon, Jnoon) and sunset (Jset).
I tried many code combinations but couldn't get through so far.
Some of the things that I tried:
Tried to add times with a degree, I achieved one but not the afternoon one,
Hello Vladimir, thank you for this great tool actually,
I would ask if you could direct me to calculate some specific time, for afternoon prayer, which is the middle of noon (solarNoon, Jnoon) and sunset (Jset).
I tried many code combinations but couldn't get through so far.
Some of the things that I tried:
var times = SunCalc.times = [
[-0.833, 'sunrise', 'sunset' ],
[ -0.3, 'sunriseEnd', 'sunsetStart' ],
[ -6, 'dawn', 'dusk' ],
[ -9, 'imsak', 'isha' ],
[ -12, 'nauticalDawn', 'nauticalDusk'],
[ -18, 'nightEnd', 'night' ],
// [ -21, 'asr1', 'asr'],
[ 6, 'goldenHourEnd', 'goldenHour' ]
];
4th line with degree 9 worked but not the commented-out one, I tried many degrees,
--> asr: fromJulian(Jnoon * 0.2) or fromJulian ((Jset - Jnoon) / 2), etc.
};
like, asr = fromJulian(Jset - Jnoon) /2;
and also in the result like: result[time[3]] = fromJulian(asr);
Could you please help how I could achieve this,
Thank you.
The text was updated successfully, but these errors were encountered: