Hi merve7,
My plunker case is here:
https://plnkr.co/edit/ahFrADebHoh1Etj5I48j?p=preview (see App.jsx)
This is related to the dateFormat and inline. When inline is set to true, this is not an issue (you can test this in my plunker).
this.locale is not defined within the formatDate function, and it gets hit when using a dateFormat that includes 'M'.
The other places in Calendar.js use
this.props.locale, which uses the default locale. I believe replacing the instances of
this.locale with
this.props.locale will fix the issue (I proved this out locally for my project).
We also are now running on primereact v1.6.0.
Let me know if you have any questions around this.