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

Config Months to View #60

Closed
pedrocortizo opened this issue Oct 17, 2016 · 2 comments
Closed

Config Months to View #60

pedrocortizo opened this issue Oct 17, 2016 · 2 comments

Comments

@pedrocortizo
Copy link

Hi, thx for mthis excellent project

This issue is most a feature-request.

As the fork made by @taniarv,
taniarv@5d82ef0

I need an option that permits to show only the months between startDate and endDate. The problem with Tania's solution are the events. The calendar only shows the events of the current year, so if you have a view with moths of two years, like the screen shoot, only view the events for current year.

In this case, we need a solution to unlimit this feature. If you can guide me about the portion of code to modify and get the events for all visible months, I will be really grateful

Thanks!

2016-10-17_11-29-36
2016-10-17_11-29-49

@Paul-DS
Copy link
Owner

Paul-DS commented Apr 4, 2020

I know this thread is pretty old, but I'm working on this feature in the new version of the library: js-year-calendar
You can follow the development (and test the functionality) in the PR year-calendar#32

@Paul-DS
Copy link
Owner

Paul-DS commented Aug 24, 2021

The feature is available in js-year-calendar@v2.0.0. Check the options startDate and numberMonthsDisplayed in the documentation

@Paul-DS Paul-DS closed this as completed Aug 24, 2021
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

2 participants