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

Current Month not showing when we want previous year dates. #49

Open
TechieVaibhav opened this issue Oct 6, 2019 · 1 comment
Open

Comments

@TechieVaibhav
Copy link

I have calculated dates like :

let startDate = Date()
let endDate = defaultCalendar.date(byAdding: .year, value: -1, to: Date())

let calendar = VACalendar(startDate: startDate, endDate: endDate, selectedDate: startDate, calendar: defaultCalendar)

let dates = DaysAvailability.some(getAvailableDates())
calendarView.setAvailableDates(dates)

please help asp.
thanks in advance.

@TechieVaibhav
Copy link
Author

My Objective is to just show current date to previous last year dates only on calender, But it is not render when i pass all info to VACalendar.

please help asp.

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