This was my fault 🤦, I had somewhere in my code Calendar.prototype.getDateFormat = () => 'yy-mm-dd';
Calendar.prototype.getDateFormat = () => 'yy-mm-dd';