The worst is probably Marocco DST
https://en.wikipedia.org/wiki/Daylight_saving_time_in_Morocc...
Calculating Ramadan is something software packages most likely won't do. To get the visibility of the moon correct, I think you have to know the exact location - and maybe check, if there is a mountain obstructing the view.