aligoren commented on issue #19: Custom Date Range Picker Limts Date Range to a 
Maximum of 12 months
URL: https://github.com/apache/kibble/issues/19#issuecomment-500384819
 
 
   @Humbedooh 
   
   Actually, 
   
   ```js
   maxDate: '2020-01-01',
   ```
   
   **maxDate** shouldn't be hardcoded. For example, you want to add 2 years.
   
   Use this instead of that
   
   ```js
   moment().add(2, 'years').format('YYYY-MM-DD')
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to