Skip to content

Commit

Permalink
Fixed error
Browse files Browse the repository at this point in the history
  • Loading branch information
Çağatay Çivici committed Aug 8, 2017
1 parent 5f4b7a1 commit d75ad83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/calendar/calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,7 @@ export class Calendar implements AfterViewInit,AfterViewChecked,OnInit,OnDestroy
let tokens = text.split(' - ');
value = [];
for(let i = 0; i < tokens.length; i++) {
value[i] = this.parseDateTime(token.trim());
value[i] = this.parseDateTime(tokens[i].trim());
}
}

Expand Down

0 comments on commit d75ad83

Please sign in to comment.