You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kibble.apache.org by GitBox <gi...@apache.org> on 2019/06/10 11:31:38 UTC

[GitHub] [kibble] aligoren commented on issue #19: Custom Date Range Picker Limts Date Range to a Maximum of 12 months

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:
users@infra.apache.org


With regards,
Apache Git Services