• saleemqureshi

    (@saleemqureshi)


    Assalaam O Alaykum. In vertical view, countdown time is 1 minute behind. Please see image. Time at the top is showing 7:29 pm, while in the circle it is showing 2:02. It supposed to show 1:00. How to fix this. Jazak Allah Khairan.

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

    (@mmrs151)

    Assalamualaikum brother,

    Is it always like this? I wonder if it is a cache or speed issue. Can you do a hard refresh and see if it fixes it?

    Please let me know.

    Thread Starter saleemqureshi

    (@saleemqureshi)

    Jazak Allah, sorry for late reply, it worked Alhamdulillah. Now I have another issue. The date is too long, and the Islamic date is not showing properly. If you see the picture I posted earlier and this link as a vertical screen, there is difference in display. What could be the reason?

    Jazak Allah

    https://screen.saskatoonmosque.com/verticle/

    Plugin Author mmrs151

    (@mmrs151)

    Right, in the latest update I have put the Hijri date in the new line. That is the reason for that.

    Thread Starter saleemqureshi

    (@saleemqureshi)

    Is there a way to fix it??

    Plugin Author mmrs151

    (@mmrs151)

    You mean putting them in the same line?

    ATM it is printing in two lines. Does it not working for you?

    Thread Starter saleemqureshi

    (@saleemqureshi)

    No it’s not working.

    Plugin Author mmrs151

    (@mmrs151)

    Can you please show me how it is not working?

    Thread Starter saleemqureshi

    (@saleemqureshi)

    This is how it looks. Time at the top is OK, but date are not visible correctly.

    Plugin Author mmrs151

    (@mmrs151)

    Got it my brother, looks like I have to add a settings for shortdate and long date.

    For now can you please remove this line

    • $weekday = date_i18n(“l”, strtotime($day[‘d_date’]), wp_timezone_string());

    and add this line instead,

    • $weekday = wp_date(“D”, strtotime($day[‘d_date’]));

    They are in the Views/MonthlyTimetablePrinter.php file.

    Let me know how you get on.

    Mustafiz.

    @mmrs151

    How can I contact you or your team?

    Thread Starter saleemqureshi

    (@saleemqureshi)

    Assalaam O Alaykum brother. I did not find that line in the specified file.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Countdown Time is wrong’ is closed to new replies.