I have created a demo here: https://stackblitz.com/edit/angular-ivy-8bvyfh?file=src/app/app.module.ts
I created mat-date-range-input, which works with MomentDateAdapter. When I select days from different months all fine:

But if I select days from the same month, it's expected, that month will be omitted. So instead of:

I would like to see: "24 - 27 October". How can I achieve it?