ng2-date-picker configuration takes
format as one of the inputs. This is useful, however is there an option to provide a function to format.
I could see in the documentation
yearFormatter which accepts function to format various sections. However, couldn’t find a way to provide formatter function to format the value displayed.
Source: Angular Questions