Different display date / max date in date input

I have a Streamlit app where a user selects their birthdate, so I want max date for date input to be today. When I run my Streamlit app locally, the max date / displayed date is correct. However, when I deploy the Streamlit app, the max date / displayed date is wrong; tomorrow’s date is displayed.

I suppose this is a timezone related issue.

I would like the user’s local timezone to be used.