Hi,

i love the fullcalendar module and kicked the old calendar module out of my site. The module really kicks ass!!!

:-))

But there is one feature request, i love to see: Would it be possible to set the first day of the week?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

allvintage’s picture

You can do it manually... just go into the file fullcalendar.js and go to line 71 where it says "firstDay: 0". Change the 0 to 1 and you have monday as your first day of the week.

Also interesting is line 40 "weekends: true".. change it to false and the calendar will only display monday through friday.

//Oh and I somehow had to ctrl+refresh twice to see the changes. So refresh again if you don't see the changes right away.

tim.plunkett’s picture

Assigned: a.siebel » tim.plunkett

Hmmm, looks like it'd be easy enough to roll both the weekends and first day options into the UI, similar to #962474: Add more options to the views interface. I'll get right on that tomorrow.

tim.plunkett’s picture

Version: 6.x-1.2-beta2 » 6.x-1.x-dev
Status: Active » Needs review
FileSize
2.55 KB

Pretty straight-forward.

tim.plunkett’s picture

Title: First day of week » Views options additions and clean-up
Priority: Normal » Major
FileSize
15.34 KB

This patch also includes #966408: Option for 24 hour display, and cleans up the Views admin by grouping. As options were added, the layout became rather confusing, this clears things up quite a bit.

After this gets reviewed and committed, it would make sense to continue here if we decide to add more options, like event slot lengths or no-weekends mode.

tim.plunkett’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.