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.
Comment | File | Size | Author |
---|---|---|---|
#1 | fullcalendar-962474-1.patch | 4.37 KB | tim.plunkett |
Comments
Comment #1
tim.plunkettOops.
Also the newline warning at the end is just because the file in CVS didn't have the proper line ending.
Comment #2
tedl CreditAttribution: tedl commentedLooking 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!
Comment #3
tim.plunketttedl, that would be #926344: Add support for field row style and #906112: handle drag and drop: creating events, rescheduling events.
Comment #4
tim.plunketthttp://drupal.org/cvs?commit=449404
Comment #5
a.siebel CreditAttribution: a.siebel commentedI wanted to change the date format to H(:mm){ - H(:mm)}, but datesare still displaying as 8p
Comment #6
tim.plunkettGaara, 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.
Comment #7
Teezi CreditAttribution: Teezi commentedThis module would replace Calendar module if it had more features. Is there any way to show more than one date field on the calendar?
Comment #8
tim.plunkett@Teezi, please see #906112: handle drag and drop: creating events, rescheduling events. This issue is only about exposing the FullCalendar jQuery variables in Views.
Comment #9
a.siebel CreditAttribution: a.siebel commentedThe 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 .
Comment #10
tim.plunkettGaara, 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.