Skip to content
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

setDate not working #381

Open
sjuvvalapalem opened this issue Jan 18, 2019 · 1 comment
Open

setDate not working #381

sjuvvalapalem opened this issue Jan 18, 2019 · 1 comment

Comments

@sjuvvalapalem
Copy link

I am programatically trying to set the date to a different date than today.

Here is the code i used still its not working. It always selects todays date.

_calendarManager = [JTCalendarManager new];
_calendarManager.delegate = self;
NSDate* dt1= [_calendarManager.dateHelper addToDate:[NSDate date] days:2];
[_calendarManager setMenuView:_calendarMenuView];
[_calendarManager setContentView:_calendarContentView];
[_calendarManager setDate:dt1];

Here dt1 is 19th. but its still only highlighting 17th. I am stumped.

Any help would be greatly appreciated.

image
Thanks,
Suman

@sjuvvalapalem
Copy link
Author

Any help on this would be greatly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant