You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello this is great library but I want to feedback can not get end date from select GLCalendarDateRange. Because it's have 2 different result.
Example: Click select 2016/7/30 but it's show 2016/7/29
// range.endDate have different range NSLog(@"endDate: %@", range.endDate);
NSLog(@" Add range: %@", range);
return range;
}
The text was updated successfully, but these errors were encountered:
leenguyen0709
changed the title
Can not get Range.endDate
Can not get corect end date select from GLCalendarDateRange
Jul 24, 2016
leenguyen0709
changed the title
Can not get corect end date select from GLCalendarDateRange
Can not get correct end date select from GLCalendarDateRange
Jul 24, 2016
Hello this is great library but I want to feedback can not get end date from select GLCalendarDateRange. Because it's have 2 different result.
Example: Click select 2016/7/30 but it's show 2016/7/29
(GLCalendarDateRange )calenderView:(GLCalendarView *)calendarView rangeToAddWithBeginDate:(NSDate *)beginDate
{
NSDate endDate = [GLDateUtils dateByAddingDays:0 toDate:beginDate];
GLCalendarDateRange *range = [GLCalendarDateRange rangeWithBeginDate:beginDate endDate:endDate];
range.backgroundColor = UIBackgroundColor;
range.editable = YES;
// range.endDate have different range
NSLog(@"endDate: %@", range.endDate);
NSLog(@" Add range: %@", range);
return range;
}
The text was updated successfully, but these errors were encountered: