batoulapps / adhan-kotlin

High precision Islamic prayer time library for Java
MIT License
148 stars 47 forks source link

Method adjustments for dhuhr #13

Closed digitalummah closed 3 years ago

digitalummah commented 4 years ago

When comparing with other prayer time apps, the dhuhr times seems to be off by 1 min.

This is more a question than an issue: why is 1 min added to most of the method adjustments for dhuhr? It seems to be an intentional addition in the adhan library - just trying to understand the reason behind it.

Thanks!

z3bi commented 4 years ago

@digitalummah This is due to the Fiqh ruling that it is not allowed to pray at certain times (see this list). One of those times is when the sun is exactly overhead. A lot of prayer time apps unfortunately calculate Dhuhr as exactly noon. A more correct approach would be to wait at least 1 minute for the sun to no longer be directly overhead.