I just tested the script again with several different values (even ludicrous ones like "2439 juillet 2020"!) and it still works just fine.

When you say it doesn't "wrap" properly, do you mean that the entire date remains on the same line? Are you sure you are adding spaces before and after each part of the date? (without spaces, the text cannot wrap properly).
_________________________
Technical Product Manager
I don't want to achieve immortality through my work; I want to achieve immortality through not dying - Woody Allen