Vurig-Calendar
Vurig-Calendar copied to clipboard
Date Issue
Hi,
This is a great project, but when I select specific date, the console show the previous day.
I saw the previous threat talked about this issue as well, but there is no solution and the treat is closed. So, please giving a fix to this point.
Thanks,
Me too. Have you found solution?
@Jia-Xian @esunly88
See the below delegate method : -(void)calendarView:(VRGCalendarView *)calendarView dateSelected:(NSDate *)date { [date descriptionWithLocale:[NSLocale currentLocale]] ; } Its a timezone issue. You could also use: NSCalendar *gregorian = [ NSCalendar currentCalendar]; instead of: NSCalendar *gregorian = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar]; everywhere in NSDate+convenience.m file