Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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?
Comment | File | Size | Author |
---|---|---|---|
#4 | fullcalendar-917988-4.patch | 15.34 KB | tim.plunkett |
#3 | fullcalendar-917988-3.patch | 2.55 KB | tim.plunkett |
Comments
Comment #1
allvintage CreditAttribution: allvintage commentedYou 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.
Comment #2
tim.plunkettHmmm, 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.
Comment #3
tim.plunkettPretty straight-forward.
Comment #4
tim.plunkettThis 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.
Comment #5
tim.plunketthttp://drupal.org/cvs?commit=464730