[aside]I could have sworn I’d seen an answer to this before, but I searched and apparently not.[/aside]
EDIT: I eventually found Dates in post filenames - #7 by zwacky if that is any value.
I don’t have an answer, but I do have a reason you might want to reconsider that kind of directory structure:
It rather breaks Hugo’s section / content-type based on subdir. You could have content/section/2022/01/new-title, but I don’t know if that is something that will work for you.
Of course frontmatter can allow using non-standard content model, but I’m thinking if you do that you are looking at a lot of extra work.
I’m guessing you are trying to make it easier to crossover between WordPress and Hugo and I would be surprised if you didn’t already know about:
The upshot is that I would ask: “are you sure this directory structure is really going to work for you, if you can figure out how to do the hugo new
part?”