Search pages by date with different date format (Frontend)

Hey,

i try to search pages in the frontend by date or title or any other field.
The problem is, the dates saved in those pages are in a different format.

For example 2023-02-25 is saved in the page. Now i want so search for the german format 25.02.2023. Is there an easy way to solve this?

Thanks in advance.

@texnixe do you know if this is possible?

You could check if the search query is a date, then convert that value to the stored date string before passing it to the search method.

ok, this sounds doable…
maybe this question is stupid but… custom page models do not effekt search, right?