-1
I own a model with a date attribute of type DATEONLY, when I step into the body of the request 01/02/1999, and the return is "date": "1999-01-02". How can I format for the Brazilian standard?
date:{
type: DataTypes.DATEONLY,
allowNull: false
},
Moment.js was discontinued the manufacturer warns that the library should not be used in new projects.
– Augusto Vasques