Events in Month view don't change going Month to Month

Support for our integrated Contact Manager, Calendar, and Project Tracker.
Posts: 3
Joined: Wed Apr 07, 2010 1:09 am
Location: Providence, RI
PostPosted: Thu Jun 03, 2010 3:34 am
This issue just occurred in month view with May going into June.

You have appointments in May and you're looking at May in month view.

You click on a date in the first week of June (say June 2nd) from the side calendars (Ninja Cal), where there is overlap between months (end of May / beginning of June). The calendar dates change but the events from May remain displayed.

If, however, you navigate from May to June using the Next Month button in the header, everything works as it should.
SeedCode Staff
SeedCode Staff
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Thu Jun 03, 2010 6:37 am
LOL. Yea. Don't know how we missed that! Should be easy to fix I'll post something later this morning.
John Sindelar
SeedCode
SeedCode Staff
SeedCode Staff
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Thu Jun 03, 2010 8:33 am
OK. Edit the script "Date Specific ( Date )" and change the calc in the first IF() statement to this:
Code: Select all
If (
    $$sc_Mode = "Month" ; Month ( $sc_Date ) = Month ( CalendarRows::DateFocusGlob )
;
   $sc_Date ≥ GetAsDate ( CalendarRows::DateRangeStartAutoGlob ) and $sc_Date ≤ GetAsDate ( CalendarRows::DateRangeEndAutoGlob )
)

and

not PatternCount ( $$sc_Mode ; "Day" ) // Always refresh on the day; it's fast and just one day. Also gets around the fact that we may show part of the next day in our time scroll, so the test above won't work when clicking one day forward in this case.

and

CalendarInterface::TimeScaleGlob ≠ "day" // always refresh the day scale of the grid view


That's it. Thanks for catching this!

- John
John Sindelar
SeedCode

Return to SeedCode Calendar

Who is online

Users browsing this forum: Google [Bot] and 3 guests

(855) SEEDCODE
[email protected]
Follow us: