MDB5 Pro Datepicker Issue
The Problem?
When I use the placeholder format of m-d-yyyy in a field using datepicker, when you click on a date in the datepicker, it puts the date - 1 month into the input. For example, if you click on June 11, it will put "5/11/2021" in the date input field instead of "6/11/2021".
When I change the placeholder format to mm-dd-yyyy then it works fine.
Documentation (https://mdbootstrap.com/docs/standard/forms/datepicker/) says that "m" can be used as a month of the yera, and that it will return 1-12.
Samples
Broken
Placeholder: m-d-yyyy
Broken
Placeholder: m-d-yyyy + inline datepicker
Working
Placeholder: mm-dd-yyyy
Working
Placeholder: mm-dd-yyyy + inline datepicker