Tasks plugin: Use Filename as Default Date does not work

What I’m trying to do

I am trying to use the “Use Filename as Default Date” option in the Tasks plugin. But it does not seem to work.

Things I have tried

I followed this doc section in the Tasks docs. I have a file name in my vault, which is named 2025-01-05 1.md. The Folders setting is not enabled (i.e. the whole vault is searched for tasks).

With all these premises the Scheduled field in the tasks creation window is empty.