Issue 951: Show axis timeslot even if minTime start at hour and a half
Status:  Duplicate
Merged:  issue 946
Owner: ----
Closed:  Aug 2013
Reported by jonathan.huot, May 11, 2011
I suggest an improvement: I would like to print in my agendaDay timeslot from 9:30 to 19:30, and then allow events creation in this manner (from 12:30 to 13:30 for example)

I first set these settings:
  defaultEventMinutes: 60,
  slotMinutes: 60,
  minTime: 9,
  maxTime: 20,
  axisFormat: 'HH:mm',
  defaultView: 'agendaDay',

But it allow only event from 12:00 to 13:00 (cf. initial-display.png)

I tried :
  minTime: 9.5,
  maxTime: 19.5,

It works: demo event "meeting" is correctly aligned to timeslot. But axis doesn't show timeslot! (cf. axisFormat-notdisplaying.png)

For get working, we have to get the number of minutes, we have two options:
1. Convert .5 from minTime and maxTime to a rounded number of minutes. Ugly if not multiple of 3. 
2. Add a new variable shiftMinutes (a better name?). Ugly because it adds a new variable.

I suggest the solution 2, here the patch with a little modification in buildSkeleton (cf. axisFormat-fixed.png).

initial-display.png
5.7 KB   View   Download
axisFormat-notdisplaying.png
5.1 KB   View   Download
axisFormat-fixed.png
5.7 KB   View   Download
May 11, 2011
#1 jonathan.huot
I forgot the patch: it was made with fullcalendar-1.5.1
fullcalendar.js.patch
1.2 KB   View   Download
Aug 14, 2013
Project Member #2 adamrs...@gmail.com
(No comment was entered for this change.)
Status: Duplicate
Mergedinto: 946