Hi,

I'm using Fullcalendar on open atrium 2.

Everything was working fine till 3 weeks ago but friday event where showing up 2 days before or after.

So I changed to have a weekly view and it was OK.

After, if you change the week view to month view clicking on the button, the hole events happening this week appears 2 weeks before on the monthly view....

Have to stay on a weekly view to be sure to see everything....

Edit : I just noticed that when my view starts on monday I have this problem. When I start the week on saturday it's ok.

For info, I've set the axis format at H(:mm) with time format at : H:mm{ - H:mm}

Comments

j.jonker’s picture

Same problem here. Running on OpenAtrium 2 as well. Tried altering the settings in Region&Language to sunday. Didn't solve the problem. Suspect that the problem is correctly displaying it in Month view, because week and day view show the event on the correct day.

erok415’s picture

There is an inherent issue in how Open Atrium 2 displays the FullCalendar module displays. If you look at http://arshaw.com/fullcalendar/ and compare how calendars are looking on your OA2 site, you can see the issue. This is the issue that I'm seeing:

Example 1: If the current day of the week is Thursday 9/4 and I create a calendar event for the same day; 1. Monthly view: the event shows up on Sunday, 2. Weekly view: the event shows up overlaying the time of day (shown in left column) on Sunday, 3. Daily view: the event shows up overlaying the time of day (shown in left column).

Example 2: If the current day of the week is Thursday 9/4 and I create a calendar event for the same day on the following or subsequent weeks; 1. Monthly view: the event shows up on Sunday, 2. Weekly view: the event shows up on the correct day, 3. Daily view: the event shows up on the correct day.

As you can see the event shows up on the wrong day in monthly view across the board. It gets tricky depending on whether its for the current day or following week (same day of the week), in weekly view and daily view. My guess is that there is a JS script error being introduced that affects the placement of the event item. When I say error, I don't mean actual error, I mean improper math. Is it safe to suspect that OA introduced a different library?

To test out my examples, try to create an event on the current day and the current day of the week for a subsequent week. I'm going to test this tomorrow (Friday) and report back.

E.

banoodle’s picture

We found a solution to this problem - actually @kcomply found it related to a slightly different issue: https://www.drupal.org/node/2107703

Following this advice to change the settings in the Open Atrium Calendar (Content) view fixed the problem that was preventing the calendar from displaying events on the same day of the week as the current day (month calendar) and today (on the week calendar)...

"Resolved this issue by unchecking
'Use jQuery UI Theme' under
Format - Settings - Style Settings
within each view for the Calendar. (ie; Month , Week and Day display views.)"

Screenshot: http://i.imgur.com/Un6cFA6.png

pommard’s picture

Hi,

indeed it works.

Thanks for the tip

Ewald’s picture

Can somebody tell me how to change the weekoverview. I just want that my calenders starts with monday not sunday.

Thanks for help