Why is the week display in the Backend from Monday-Sunday and in the Frontend from Sunday-Saturday. Any change to adjust this in settings or at least have the same order?

thanks in advance
Marvin Felder

CommentFileSizeAuthor
Backend.png27.59 KBfeldmarv
Frontend.png36.79 KBfeldmarv
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

feldmarv created an issue. See original summary.

feldmarv’s picture

Issue summary: View changes
acrollet’s picture

Hi Marvin,

have you configured your system's day of the week settings at admin/config/regional/settings ?

feldmarv’s picture

@acrollet systems day of the week is Monday on my project so it is correct in the backend. The problem is on the frontend (on calendar) the start day of the week is Sunday.

br
marvin

feldmarv’s picture

it is possible to change the configuration of FullCalendar.

http://fullcalendar.io/docs/display/firstDay/

the following does duplicate the calendar object in the DOM. Does someone know why it gets duplicated?

var view = $('#field-room-avail-availability-formatter .cal-processed').fullCalendar('getView');

view.fullCalendar({
firstDay: 1
// other options
});