• HashimA

    (@kaosindustries)


    Come across quite a serious bug that shows Asr start time as being 12 AM on the daily timetable printer (daily_next_prayer shortcode) when the Hanafi method is set in Settings:

    View post on imgur.com

    I don’t have any times in the CSV for the 1st Mithl so it seems it’s pulling the default times from that column – in other words the logic to check for 1st Mithl or 2nd is not working for this shortcode. This logic is working fine for both dptNextPrayer and the monthly timetable.

    I’m temporarily working around this by setting private $isHanafiAsr to true in DailyShortCode.php, but this is a very hacky solution and not sustainable.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author mmrs151

    (@mmrs151)

    Assalamualaikum,

    so to fix this, on your csv, can you put 1st mithl and 2nd mithl same data?

    Thread Starter HashimA

    (@kaosindustries)

    Ws,

    I could do that, but I don’t see how this would be a fix, just a hack, like I’ve currently accomplished by setting is $isHanafiAsr to true. Some logic is needed to detect for the 1st or 2nd Mithl and only show that column in the timetable.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Daily Next Prayer bug – shows 12 AM for Asr’ is closed to new replies.