Open meezaan opened 4 years ago
Salam, @meezaan couple questions: 1) Are you talking about timings/v1/prayerTimes.php, timings/v1/dateAndTime.php, or other routes as well? 2) Are you thinking to change the output of any of those routes, or just internal calculations?
No, this refers to https://github.com/islamic-network/api.aladhan.com/blob/master/src/AlAdhanApi/Model/HijriCalendarService.php in general. There are always discrepancies with Hijri dates.
The IntlDateFormatter
seemed a better approach but it also has discrepancies, so I'm in 2 minds about whether to do this or not. I've started work on a library try and reconcile the differences, but have not got very far.
Like this example: