[xwiki-users] Mocca Calendar and Meeting Calendar have different first days
In the 7.4 release, the Mocca Calendar extension and the calendar view of the Meeting Application extension use different first days of the week. I'd like to have our site consistently use the same first day (Sunday). Can anyone give me a pointer on how to do this? -- View this message in context: http://xwiki.475771.n2.nabble.com/Mocca-Calendar-and-Meeting-Calendar-have-d... Sent from the XWiki- Users mailing list archive at Nabble.com.
How to chnage the first day of the week for MoccaCalendar is explained here: http://extensions.xwiki.org/xwiki/bin/view/Extension/MoccaCalendar?viewer=co... HTH Clemens
In the 7.4 release, the Mocca Calendar extension and the calendar view of the Meeting Application extension use different first days of the week. I'd like to have our site consistently use the same first day (Sunday). Can anyone give me a pointer on how to do this?
-- View this message in context: http://xwiki.475771.n2.nabble.com/Mocca-Calendar-and-Meeting-Calendar-have-d... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Unfortunately, the default for Mocca Calendar is Sunday which is what I want. I need to change the Meeting Application. The Meeting Application doesn't seem to have a 'firstDayOfWeek' (or similar) translation key. So it seems like I need to go a bit deeper to make the change. -- View this message in context: http://xwiki.475771.n2.nabble.com/Mocca-Calendar-and-Meeting-Calendar-have-d... Sent from the XWiki- Users mailing list archive at Nabble.com.
I figured it out I think. I navigated to xwiki/bin/view/Meeting/calendarView (as Admin) and edited it using the wiki editor. In the macro, I changed the following line {{calendar classname="Meeting.MeetingClass" startfield="startDate" durationfield="duration" defaultView="agendaWeek" firstHour="8" minTime="8" maxTime="21" language="fr" editable="true" timeFormat="HH:mm" /}} to add a parameter firstDay="0" -- View this message in context: http://xwiki.475771.n2.nabble.com/Mocca-Calendar-and-Meeting-Calendar-have-d... Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (2)
-
Clemens Klein-Robbenhaar -
Mark Sack