prayer-times icon indicating copy to clipboard operation
prayer-times copied to clipboard

issue

Open Wijlini opened this issue 8 years ago • 0 comments

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;
        }

Wijlini avatar May 14 '16 18:05 Wijlini