Closed mohamed closed 9 years ago
You should also change this line: isha = sunset + 90.0 * ONE_MINUTE;
it should be: isha = sunset + loc->calc_method.isha * ONE_MINUTE;
and instead of the if statement checking the method id, it should be checking if the type is OFFSET
Also, my comment was actually to use NEAREST, not DOWN.
@ameiralzoubi Both bugs above fixed. Most likely, I won't have time to work on this until next weekend in shaa Allah. If you have time, please feel free to continue. I still can check commits and give comments if you want.
This change includes the following: