There are a couple things hardcoded in fullcalendar.js that should be exposed to an end-user. Or at least to me :)

This patch adds the ability to specify a default start date, i.e. the date that is displayed upon refresh. While I'm mostly using it as a temporary workaround for #921572: Pass date argument from view to display specific month, it has its own use case.

I also included the time format string for events. Ideally there would be a way to match up Drupal's date formats with jQuery's, but this is certainly a start.

The default time format is included in the views options, and empty strings are used for the dates to ensure that the default behavior of displaying today's date remains intact.

CommentFileSizeAuthor
#1 fullcalendar-962474-1.patch4.37 KBtim.plunkett
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tim.plunkett’s picture

Status: Active » Needs review
FileSize
4.37 KB

Oops.

Also the newline warning at the end is just because the file in CVS didn't have the proper line ending.

tedl’s picture

Looking forward to more features to FullCalendar. Any of you that know if it is much work to use fields instead of the whole node as rowstyle? And moving events by drag and drop would be fun. Once again, great work!

tim.plunkett’s picture

tim.plunkett’s picture

Status: Needs review » Fixed
a.siebel’s picture

I wanted to change the date format to H(:mm){ - H(:mm)}, but datesare still displaying as 8p

tim.plunkett’s picture

Gaara, which dates? There are the ones on the events and also the ones on the side of the calendar. Also, which mode? Week, day, etc.

Teezi’s picture

Version: 6.x-1.2-beta2 » 6.x-1.2-beta5

This module would replace Calendar module if it had more features. Is there any way to show more than one date field on the calendar?

tim.plunkett’s picture

@Teezi, please see #906112: handle drag and drop: creating events, rescheduling events. This issue is only about exposing the FullCalendar jQuery variables in Views.

a.siebel’s picture

The dates on events are not influenced by the setting (i had to set them in my settings file). The dates on the left are still shown in format 9am .

tim.plunkett’s picture

Gaara, the default time format for events is h:mm{ - h:mm}. Either I am misunderstanding you, or you are missing a step. Please open a support request, and leave this feature request marked fixed.

Status: Fixed » Closed (fixed)

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