|
|
@@ -74,7 +74,7 @@ var TimeGrid = FC.TimeGrid = Grid.extend(DayTableMixin, {
|
|
|
var theme = calendar.theme;
|
|
|
var isRTL = this.isRTL;
|
|
|
var html = '';
|
|
|
- var slotTime = moment.duration(+this.view.minTime); // wish there was .clone() for durations
|
|
|
+ var slotTime = moment.duration(+view.minTime); // wish there was .clone() for durations
|
|
|
var slotIterator = moment.duration(0);
|
|
|
var slotDate; // will be on the view's first day, but we only care about its time
|
|
|
var isLabeled;
|
|
|
@@ -82,7 +82,7 @@ var TimeGrid = FC.TimeGrid = Grid.extend(DayTableMixin, {
|
|
|
|
|
|
// Calculate the time for each slot
|
|
|
while (slotTime < view.maxTime) {
|
|
|
- slotDate = calendar.msToUtcMoment(this.unzonedRange.startMs).time(slotTime);
|
|
|
+ slotDate = calendar.msToUtcMoment(view.renderUnzonedRange.startMs).time(slotTime);
|
|
|
isLabeled = isInt(divideDurationByDuration(slotIterator, this.labelInterval));
|
|
|
|
|
|
axisHtml =
|