iamriajul / adhan-dart

Adhan for Dart / Muslim Prayer Times Library. Now retrieving Prayer time in Dart easier than ever.
https://pub.dev/packages/adhan
MIT License
86 stars 41 forks source link

Midnight calculation #51

Closed admincode1 closed 5 months ago

admincode1 commented 10 months ago

Midnight calculation should be from Isha (end of sun light) to Fajr (beginning of sun light) / 2 not from Maghrib to Fajr / 2. I hope this help developer in the next update.

JMApps commented 9 months ago

The calculation of the last third of the night comes from the Maghrib prayer, since the night of a new day begins precisely after Maghrib.