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

Setting start date in the middle of the month and end date as today #5

Open
swqat117 opened this issue Nov 7, 2016 · 1 comment
Open

Comments

@swqat117
Copy link

swqat117 commented Nov 7, 2016

setStartDateWithParts(currentDateTime.getYear(), currentDateTime.getMonthOfYear()-1, currentDateTime.dayOfMonth().withMinimumValue().getDayOfMonth());
setEndDateWithParts(currentDateTime.getYear(), currentDateTime.getMonthOfYear(), currentDateTime.getDayOfMonth());

This is what i tried to implement and figured out that when i click on nov 7 which is today ,
the Onclick() funtion redirects to october 7 and not nov 7

@asantibanez
Copy link
Owner

Hi @swqat117 . I will check this. It appears the library is assuming is working with 1 month always. Will have a fix soon.

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