The OP might have a look into MDN's documentation of [Date.prototype.toLocaleString](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleString) and the [`Intl.DateTimeFormat`'s `datestyle` option](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat#datestyle) ... `new Date('May 22, 2022').toLocaleString('fr', { dateStyle: "short" } );`.
– Peter SeligerMay 22 '22 at 14:47