Viewing 6 replies - 1 through 6 (of 6 total)
  • I found the issue.

    Since it’s whole days it thinks that it’s going from May 1st 00:00 and then it THINKS it ends 00:00 4th but 00:00 is acually read as 5th. So if you make the end time to like 23:30 instead, it will show up as 4th instead of 5th

    If that made sense ??

    Thread Starter miwalther

    (@miwalther)

    It does make sense. The problem is for those multi day events the option “all day” is used and then there is no time I can set.
    And in the feed I use the conditional shortcode [if-all-day] to get a different layout for single and multi-day events.

    That’s true, I haven’t really used that shortcode. But I guess you could find some other shortcode to seperate the diffrent events.

    Plugin Contributor Nick Young

    (@nickyoung87)

    I will take a look into this when I get a chance.

    You might be able to use the offset attribute found in the docs here:

    https://wpdocs.philderksen.com/google-calendar-events/event-builder/

    Something like:

    [if-all-day]
    Busy: [start-date] – [end-date offset=”-60″]
    [/if-all-day]

    Not sure if that will get the results you need, but if it does it might be a good temp fix until I have time to fix this.

    Let me know if it helps.

    Thread Starter miwalther

    (@miwalther)

    Thanks a lot, that helps!

    Plugin Contributor Nick Young

    (@nickyoung87)

    Awesome glad that was able to work for you!

    I am going to keep this marked in my issues to look at, but I will resolve the thread now that it is helping you.

    Thanks!

    P.S. If you get a chance would you mind leaving a plugin review (if you haven’t already)? It helps a ton.

    https://www.ads-software.com/support/view/plugin-reviews/google-calendar-events#postform

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘wrong date range for multi-day events’ is closed to new replies.