I have an object in vue js retrieved from form with attribute date and a value 22-02-2022. How can I change this value to be 2022-02-22?
CodePudding user response:
I have an object in vue js retrieved from form with attribute date and a value 22-02-2022. How can I change this value to be 2022-02-22?
CodePudding user response: