This question about Using an extension: Answered

How can I change the first day of the week from Sunday to Monday?

By default the week in the calendar starts from Sunday. How can I change this to Monday?


The jQuery FullCalendar plugin allows you to remove Saturday and Sunday but not to change the week so that it runs Mon to Sun.

There's currently no way to set this option via the Foswiki plugin but you could make a manual update to the fcp.js file for now.

Find the part in the init function where the calendar is instantiated, ).fullCalendar({ , and insert weekends: false, just below.

I'll add an option for that in the next release.

-- DavidPatterson - 19 Apr 2011


In fact ... it is possible. Just at the same place as explained above (fcp.js, find " ).fullCalendar({ "), insert " firstDay: 1, " .

See: http://arshaw.com/fullcalendar/docs/display/firstDay/

-- ValentinKozlov - 09 Jul 2014

QuestionForm edit

Subject Using an extension
Extension
Version Foswiki 1.1.3
Status Answered
Related Topics
Topic revision: r3 - 09 Jul 2014, ValentinKozlov
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy