• Resolved MarkLNH

    (@marklnh)


    I found an issue with the weekly view when the event dates displayed span two years. The layout is incorrect and the events are displayed on the wrong days.
    It can bee seen here:

    http://3bridgesyoga.com/portsmouth-week/

    I made it work by setting all the links on the site to use the year parameter with that link:

    http://3bridgesyoga.com/portsmouth-week/?yr=2012

    Without the parameter, the Next and Previous also break (Next linking to 2014 and Previous linking to December 2013). With the parameter they are correct.

    The problem is in my-calendar-output.php line 637. Without the yr parameter it sets $c_year to the current year, when it seems it should be set to the year of the first event displayed. The individual event times are calculated later in the code, so a good fix requires more familiarity with the code than I have.

    It doesn’t seem to affect the monthly view with the same conditions.

    The live site above is using version 2.0.6, but I’ve tested with 2.1.3 and the issue remains. The site is on WP 3.3.1.

    Thanks.
    Mark

    http://wordpress.org/extend/plugins/my-calendar/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    Hi, mark – I learned of this yesterday, and will have a fix published today. Thanks!

    Thread Starter MarkLNH

    (@marklnh)

    Thanks Joe. If there is anything I can do the help, testing or whatever, just let me know.
    Thanks again for the calendar.
    Mark

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bug with weekly view when event dates span two years’ is closed to new replies.