• Resolved magmomod

    (@magmomod)


    Hi

    There is an error in the time displayed in the event. If I for example add an event that I set to start at 10.00 in wordpress, the time could be displayed wrong beacuse it round up the second to nearest minute. There is no way to add seconds in wordpress when scheduling the event but somehow the actual second you add the event is added to the scheduled time and then rounded up. So in mu case the event is diplayed in Outlook to start at 10.01 but it still display 10.00 in wordpress. You can see this if you look at the time in the database for the event.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Roch

    (@rochesterj)

    Hi there!

    Thanks for reaching out.

    That’s actually a WP-related issue.

    Since there’s no way to select the seconds, it gets the current time.
    https://core.trac.wordpress.org/ticket/44597

    You’d need some custom code to change this in the wP core.

    Thanks!

    Thread Starter magmomod

    (@magmomod)

    But if you generate the calendar you could ignore the seconds then it would be solved, Or?

    Plugin Contributor Roch

    (@rochesterj)

    Hi there!

    That’s a good idea.

    We don’t have this option at the moment, unfortunately.

    So you’ll need some custom code to do that.

    Thanks!

    Thread Starter magmomod

    (@magmomod)

    What file should I then look for to change?

    Plugin Contributor Roch

    (@rochesterj)

    Hi!

    The ical generator can be found here:
    wp-content/plugins/sportspress/feeds/ical.php

    Thanks!

    Thread Starter magmomod

    (@magmomod)

    Thanks I changed the code locally and removed the seconds so now the issue is resolved.

    Plugin Contributor Roch

    (@rochesterj)

    That’s great! I’m glad it’s resolved for you.

    I’ll send this to our dev team as well.

    I can’t guarantee that this will be changed (since this is a WP issue), but maybe they can consider it at least for the ical files as it can be confusing to some users.

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘iCal with the wrong time’ is closed to new replies.