Vurig-Calendar icon indicating copy to clipboard operation
Vurig-Calendar copied to clipboard

Date Issue

Open esunly88 opened this issue 11 years ago • 2 comments

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,

esunly88 avatar May 04 '13 03:05 esunly88

Me too. Have you found solution?

Jia-Xian avatar Oct 14 '14 08:10 Jia-Xian

@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

kaushil111 avatar Nov 21 '14 13:11 kaushil111