-
Notifications
You must be signed in to change notification settings - Fork 810
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong selected NSDate #210
Comments
Ok, first thing. What version of the calendar are you using? the func calendar(_ calendar: JTAppleCalendarView, didSelectDate date: Date, cell: JTAppleDayCellView?, cellState: CellState) |
I also have the same problem, I'm using version 5.0.1 (just because our project can't migrate to swift 3.0 yet). Can you please check where I can edit the library so we can get the correct date? And thanks for the great calendar! |
I'm using 6.01. Application is on Objective C, so I created a bridge. didSelectDate looks like this
|
sounds like youre in an eastern region. var calendar = Calendar.current
calendar.timeZone = TimeZone(secondsFromGMT: 0) Let me look into fixing this. This happens if youre on the Eastern Hemisphere where your tiem zone is different. Working on a fix now. |
Can you try updating to version 6.0.3 and let me know if your issue was resolved? |
Sure, will take a look, and let you know. Thanks. |
Alright then. Closing this issue as it is fixed. |
Hi guys . Thanks for a great calendar.
I've faced with issue that delegate returns me wrong date in
For example if 2016-11-17 selected, it returns 2016-11-16 22:00:00 +0000.
What might be a problem ?
Thanks.
The text was updated successfully, but these errors were encountered: