title: Dash datepicker max_date_allowed as current date not working properly
body: <p>I am using dash for my dashboard and is deployed on AWS Elastic Beanstalk.<br />
  There is an issue in Datepicker.I am using max_date_allowed=dt.date(dt.now())</p>
  <p>So the day the app is deployed everything worked fine. But from the next day, the max_date_allowed is stuck to the date, the app is deployed and we can't choose date beyond the date the app is deployed.<br />
  It works again only if we choose in the environment, restart app server(s) from the action menu.</p>
  <p>What could be the issue here?</p>
  <p>Below is the date picker snippet we used.</p>
  <pre><code>dcc.Tabs([
          dcc.Tab(label='DDR by Date (Default DDR - Last Day)', value='tab-1', children=[
              dcc.DatePickerSingle(
                  id='my-date-picker-single',
                  min_date_allowed=dt(2020, 1, 18),
                  max_date_allowed=dt.date(dt.now()),
                  initial_visible_month=dt.date(dt.now()),
                  placeholder='Select a date',
                  display_format='DD/MM/YYYY'
              ),
              html.Button(id='submit-button', n_clicks=0, children='Submit'),
              html.Div(id='output-container-date-picker-single')
          ]),
  </code></pre>