• Resolved lsparks

    (@lsparks)


    I’m having an odd problem getting dates to display correctly using the calendar view for events. Events appear to be displaying one day off from the actual event date, ie an event scheduled for the 15th will show up on the calendar on the 14th. Clicking on the event shows the actual event description page which does have the correct date.

    Adding to the weirdness of the problem, it only seems to occur and months after the current month. Events in October are fine, but events in November and later are all offset a day.

    The list view seems to work fine, its just the calendar view.

    Any ideas?

    Thanks!

    http://ww.wp.xz.cn/extend/plugins/events-manager/

Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    have you made any changes to your calendar

    also worth checking that your server is taking DST into account as well.

    Thread Starter lsparks

    (@lsparks)

    I have not made any changes to the calendar.

    You can see what I am talking about here:
    http://sp.arks.me/go/y

    Click on the event for November 14. You will see on the main event page that the date is actually the 15th, so it is showing up correctly there.

    If it was a server time issue, I would think both dates would be off. It should also be off in list view which it is not, its only an issue in calendar view.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    could you try outputting the date/time in the calendar to see if they are different? by that i mean adding to the link to individual events in the calendar

    Thread Starter lsparks

    (@lsparks)

    I’m not sure what you mean, is there a particular array key I need to output in the template? I tried print_r() on the some of the arrays but rather than providing a list of the contents it just makes the whole calendar disappear.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    i mean just add the same date placeholders in Events > Settings > Calendar Format, e.g. #Y-#m-#d

    Thread Starter lsparks

    (@lsparks)

    OK, I tried that, and the event date it is outputting is different than the main calendar date. The calendar date is the 14th, and the date of the event and the date outputted with #Y-#m-#d is the 15th.

    It does appear since the dates are fine on November 2nd, but not on the 6th or after it may be related to DST in some way. It is just odd that if I change to the list view instead of the calendar view the dates are all correct.

    You can see it here.

    http://sp.arks.me/go/10

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    I’m pretty sure it’s to do with your server and PHP settings. If it was a WP issue, chances are you’d see the times off by an hour, but since it’s off by a day, it’s probably done when calculating dates to show etc. in the calendar, which uses php functions to generate dates (and probably where things go wrong)

    could you try it on another server?

    Thread Starter lsparks

    (@lsparks)

    I also thought that might be the case, but it is happening on my local MAMP installation, the live production environment, and the staging environment. The behavior is consistent across 3 separate servers that have been independently configured.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    I still think it’s a server issue, you’re the only one with this problem

    check our demo-in-progress – http://demo.wp-events-plugin.com/events/2011-11-25/

    it works there, no changes to make it so.

    Marcus, I am also experiencing this on my server, and on my test server.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    erdeveloper do you have a link for us to look at?

    Hello Marcus – I do but do not want (for SEO purposes) to include it here. How can I send this to you?

    Brian

    (@bjparuchgmailcom)

    This is a problem with re-occurring events. The dev does not seem to support anymore so I switched to “my calendar”.. better calendar IMHO and it allows iCal downloads.

    I’ve actually tested all aspects – making events recur or not, and they show on the calendar grid one day before they are supposed to. When I click on the event in the grid, it loads the page and shows the date is correct.

    I think the problem is simply when it appears in the calendar grid.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    Brian, you must have the wrong plugin…

    erdeveloper, fill out our contact form and link to this page so I know it’s you

Viewing 15 replies - 1 through 15 (of 19 total)

The topic ‘[Plugin: Events Manager] Calendar View Date Off by One Day’ is closed to new replies.