Closed farisfaisalthena closed 3 years ago
Was looking at this - I can't reconcile our code with what JAKIM is calculating. The fajr, isha offsets should be 20, 18 (Singapore calc method does this) but there's something else as well that I'm missing.
Going by the most official prayer times I could find: https://muftiwp.gov.my/images/falak/takwim/jadual-waktu-solat/KL-dan-Putrajaya/Jadual-Waktu-Solat-WPKL-PTJ-2021.pdf
I'll have to dig a bit more.
Hello there,
So i believe there’s an issue right? Also the same with Indonesia praying time not being accurate
@farisfaisalthena using the singapore
method in the library will get you pretty close, we are working on adding a JAKIM method soon inshAllah that should match the times exactly.
Hi, thank you for answering. I will just wait until JAKIM is added as my users might complain not being accurate etc. Also would be great if you could add "Sihat/Kemenag" calculation method for Indonesia, would highly appreciate that. For JAKIM here are some sites i found that might help you with the implementation https://khaliqhalid.my/2018/02/malaysia-muslim-praying-time-api/ and https://github.com/afzafri/Waktu-Solat-API. Great job so far and stay safe!
@farisfaisalthena upon further investigation the reason our singapore
method has a discrepancy is because the official times in Malaysia are centralized in different zones. If you use the coordinates provided in this document you will find that our times are only off by about 1 minute (which is most likely due to rounding - something we hope to fix in #43) https://www.e-solat.gov.my/portalassets/files/Lampiran%20B.pdf
Yup there just off but would be great in future to have JAKIM calculation to provide a more accurate info 👍
Hi there,
I was just curious is there any calculations method for JAKIM? Because I tried using
But i always get a few minutes earlier/later. Besides that I would also like to know what calculations are used for Malaysia and Indonesia. Thank you