Closed tHeCh0s3n0n3 closed 1 year ago
The offset is missing in the latter, which means something is amiss in the code. I will have a look. Thank you for letting me know.
I've just pushed a fix. Should be deployed in the next 2-3 minutes. Thank you!
Timings now match.
While looking to integrate your amazing API in a small tool I'm working on, I noticed a discrepency between timingsByCity and calendarByCity.
For the city I'm checking on (Dubai, AE) the difference is in the Duhr, Sunset and Maghrib. I haven't checked any other cities.
As I write this on 2023-04-02 the following is what is return by
https://api.aladhan.com/v1/timingsByCity?city=Dubai&country=AE
:However the same date in the calendarByCity shows different prayer times (and dones't have automatic adjustments). URI:
https://api.aladhan.com/v1/calendarByCity?city=Dubai&country=AE&month=04&year=2023
Relevant part of the result:Shouldn't both endpoints be returning the same data or am I missing something?