Ranger icon indicating copy to clipboard operation
Ranger copied to clipboard

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

Open swqat117 opened this issue 9 years ago • 1 comments

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

swqat117 avatar Nov 07 '16 13:11 swqat117

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

asantibanez avatar Jan 23 '17 14:01 asantibanez