How do I convert the date in this type 02 Ago 2017
to 02/08/2017
?
I'm using vuejs-datepicker
and when selecting it comes in that format, and in the documentation says to do so ...
customFormatter(date) {
return moment(date).format('dd MMM yyyy');
}
But using moment, I wanted without moment, how would I do?