I need to extend the list of predefined angular date pipe formats (you can see it here) with format that consists of only month with year, e.g 05/2020 for 'en' or 05.2020 for 'de', that have to be localized. Is there any correct way to do this? I know that it is possible to create your own pipe and extend with some needed format, but when I indicate format e.g. 'MM/yyyy' it will format every date for every locale with that format, but I need to have it localized, so I need to add my custom formatting to already existing functionality.
I have an idea to do this with moment.js and not to use angular date pipe, the other idea is to manually remove the day from string that already have been localized (I agree quite stupid idea), but I am running out of ideas actually.
Any easy way? or other approach have to be defined here?