Skip to content

Commit

Permalink
fix: #229 Missing Months (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
mibrito707 authored and ulesta committed Sep 7, 2019
1 parent 994fe7d commit 9d18df9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/src/ion2-calendar/components/calendar.modal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ export class CalendarModal implements OnInit, AfterViewInit {
const len = this.calendarMonths.length;
const final = this.calendarMonths[len - 1];
const nextTime = moment(final.original.time)
.add(NUM_OF_MONTHS_TO_CREATE, 'M')
.add(1, 'M')
.valueOf();
const rangeEnd = this._d.to ? moment(this._d.to).subtract(1, 'M') : 0;

Expand Down

0 comments on commit 9d18df9

Please sign in to comment.