• Resolved Mati

    (@mattheus)


    Dear developers,

    I am using the Timed Content plugin and have encountered an issue with scheduled recurrences. I have set up a rule to display content in the first week of each month, but I notice that the start time in the scheduled dates shifts +1 hour forward each month.

    Settings: https://prnt.sc/0Vdmiy9QUZUL

    Issue:
    When I use the Show projected dates/times option, I see that each following month, the start time is +1 hour later than the previous month

    Could you investigate this issue and/or provide a solution?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Arno Welzel

    (@awelzel)

    I can reproduce this issue with the given rule and will have a look into it. Sorry for the confusion.

    Plugin Author Arno Welzel

    (@awelzel)

    I identified the issue – when doing the calculation to get a specific weekday in the next month, the time “00:00” is treated as UTC internally and then get converted back to local time. At this point, the time accidentally gets the timezone offset added – which is +1 hour in Amsterdam in January compared to UTC.

    I’ll try to provide an update for this as soon as possible, but this may take bit.

    Thread Starter Mati

    (@mattheus)

    Hello @awelzel,

    Thank you for investigating and explaining the issue. Unfortunately, this causes customers to see the wrong content at the wrong time. Hopefully, a solution will be available soon.

    • This reply was modified 1 month, 2 weeks ago by Mati.
    Thread Starter Mati

    (@mattheus)

    Thanks again for your efforts!

    • This reply was modified 1 month, 2 weeks ago by Mati.
    Plugin Author Arno Welzel

    (@awelzel)

    Version 2.92 should fix this problem.

    Thread Starter Mati

    (@mattheus)

    here its still not fixed https://prnt.sc/h_o5qU7O-nIO

    Plugin Author Arno Welzel

    (@awelzel)

    I’m sorry to see this – but I don’t know how to change that. Maybe you need to find another plugin or ask someone to develop a custom solution for you, sorry.

    Plugin Author Arno Welzel

    (@awelzel)

    It seems, PHP has some strange issues when doing date calculations. The plugin already contains workarounds to cope with some of the problems, but unfortunately, using functions like “add a month” don’t work properly. I need to reimplement the whole calculation procedure to avoid using PHP standard functions for it.

    Plugin Author Arno Welzel

    (@awelzel)

    I just pushed another update with a different implementation of monthly date calculations.

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.