DateInput does not respect browser locale (window.navigator.language)

Hi everyone,

I’m deploying an app on Streamlit Cloud and noticed that st.date_input does not use the browser’s locale, even though the browser correctly reports the locale through window.navigator.language. Even when the browser is set to a non-English locale (for example ja-JP, vi-VN, fr-FR), the DateInput widget still displays and parses dates using the default Streamlit format instead of the user’s actual browser locale.

What actually happens

  • st.date_input always uses the default Streamlit date format
    regardless of browser locale.

  • Browser locale is ignored, even though Streamlit internally reads some locale info during initialization.

This is url:

https://dateinput-ndk.streamlit.app/

Any ideas?

Thanks