batoulapps/Adhan

Day light Saving settings

msadrud opened this issue · 1 comments

Assalam wa laikum,
I recently came across your project. Thanks for the wonderful effort. I just wanted to check if the current version of the code takes care of DST (day light savings)? Does it check if a date is in day light saving time and then accordingly adjusts the prayer times?

z3bi commented

It does by explicitly not dealing with time zones at all. It receives date components as the input (calendar values without time zone information) and returns date objects (time values without time zone information). You then use a date formater to display the prayer times with time zone (and DST) added.