|
@ -618,7 +618,8 @@ TimeStep.prototype.getClassName = function() { |
|
|
even(current.minutes()).trim(); |
|
|
even(current.minutes()).trim(); |
|
|
|
|
|
|
|
|
case 'hour': |
|
|
case 'hour': |
|
|
return 'vis-h' + current.hours() + (this.step == 4 ? '-h' + (current.hours() + 4) : '') + |
|
|
|
|
|
|
|
|
return 'vis-h' + current.hours() + |
|
|
|
|
|
(this.step == 4 ? '-h' + (current.hours() + 4) : '') + |
|
|
today(current) + |
|
|
today(current) + |
|
|
even(current.hours()); |
|
|
even(current.hours()); |
|
|
|
|
|
|
|
@ -633,9 +634,8 @@ TimeStep.prototype.getClassName = function() { |
|
|
' vis-' + current.format('MMMM').toLowerCase() + |
|
|
' vis-' + current.format('MMMM').toLowerCase() + |
|
|
today(current) + |
|
|
today(current) + |
|
|
currentMonth(current) + |
|
|
currentMonth(current) + |
|
|
this.step <= 2 ? today(current) : '' + |
|
|
|
|
|
this.step <= 2 ? ' vis-' + current.format('dddd').toLowerCase() : '' + |
|
|
|
|
|
even(current.date() - 1); |
|
|
|
|
|
|
|
|
(this.step <= 2 ? today(current) : '') + |
|
|
|
|
|
(this.step <= 2 ? ' vis-' + current.format('dddd').toLowerCase() : '' + even(current.date() - 1)); |
|
|
|
|
|
|
|
|
case 'month': |
|
|
case 'month': |
|
|
return 'vis-' + current.format('MMMM').toLowerCase() + |
|
|
return 'vis-' + current.format('MMMM').toLowerCase() + |
|
|