CC-2951: Allow users to select the starting day of the week

Added system preference in Preference page for user to select the start day of a week
(defaults to Sunday).

Calendar will utilize this information and update the calendar UI accordingly.
This commit is contained in:
Yuchen Wang 2011-10-19 12:42:22 -04:00
parent 0989a1c13f
commit d9186a3bf2
6 changed files with 70 additions and 3 deletions

View file

@ -333,6 +333,7 @@ function createFullCalendar(data){
},
defaultView: getTimeScalePreference(data),
slotMinutes: getTimeIntervalPreference(data),
firstDay: data.calendarInit.weekStartDay,
editable: false,
allDaySlot: false,
axisFormat: 'H:mm',