I have a dash app where I have a date-picker with start date and end date:
dcc.DatePickerRange( id='date-picker-range', start_date_placeholder_text='Starting date', end_date_placeholder_text='Ending date', min_date_allowed=datetime.datetime.now() - datetime.timedelta(days=10*365), max_date_allowed=datetime.datetime.now(), initial_visible_month=datetime.datetime(2009, 1, 1), end_date=datetime.datetime.now() ),
The difference between the start and end dates can be upto 10 years. So, its not convenient to skip by month as it would be tedious to do it hundreds of times to go to a very old date. Is there a way to skip by year instead of month?
Also, somewhat related, is there a way to set different
initial_visible_month for the start and end dates? For example, the
initial_visible_month could be somewhere in 2010 for the start date and in 2018 for the end date.