My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2141: when snapDuration is smaller then the slotDuration
  Back to list
Status:  Duplicate
Merged:  issue 2085
Owner:  ----
Closed:  May 2014


Sign in to add a comment
 
Project Member Reported by adamrs...@gmail.com, May 1, 2014
Originally sent from Edward Middleton (https://github.com/eiddleton):

----------

Hi Adam,

I been taking a look at the v2 branch of fullcalendar and noticed that
you were using slotDuration rather then snapDuration to determine the
initial box position in function realCellToDate.  This breaks badly when
the snapDuration is smaller then the slotDuration.

 if (slotIndex >= 0) {
-       date.time(moment.duration(minTime + slotIndex * slotDuration));
+       date.time(moment.duration(minTime + slotIndex * snapDuration));
        date = calendar.rezoneDate(date);
 }
May 1, 2014
Project Member #1 adamrs...@gmail.com
(No comment was entered for this change.)
Labels: Type-Bug
May 25, 2014
Project Member #2 adamrs...@gmail.com
implemented (in github, v2 branch) but not released yet
Status: Duplicate
Mergedinto: 2085
Sign in to add a comment

Powered by Google Project Hosting