| Issue 951: | Show axis timeslot even if minTime start at hour and a half | |
| 2 people starred this issue and may be notified of changes. | Back to list |
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).
Aug 14, 2013
(No comment was entered for this change.)
Status:
Duplicate
Mergedinto: 946 |
|
| ► Sign in to add a comment |
1.2 KB View Download