prayer-times
prayer-times copied to clipboard
issue
Salam aleykum Please check the "EffectiveTimeZone()" in "PrayerTimesCalculator" it should be like that
private int EffectiveTimeZone(DateTimeOffset date, int? timeZone)
{
if (timeZone == null)
timeZone = date.Offset.Hours;
int dstOffset = 0;
if (date.LocalDateTime.IsDaylightSavingTime())
{
dstOffset = -1;
}
return timeZone.Value - dstOffset;
}