CMS filter by date range

Interestingly, I found a similar topic here: Datepicker + CMS Filter (date format in French

where user has posted a nearly-working solution: Basic

If you go there, and try to set first to e.g. July 1, 2023 and click on Submit, the filter should not work for you. But for me, it is working. BUT if I change my language of browser to yours (English US), it will stop working. But just in Chrome. In Firefox, in my language, it is not working. Now I am even more confused.