Excuse me guys, but you have any resource to integrate
moment.js into an Adonis JS project similar to a tutorial, post, etc?
I mean format dates, because I have tried something like this
let dato = await Student.query() .select('birthday') .fetch() let datos = moment(dato).format('YYYY-MM-DD') return datos }
But it gives me the current date, so I don’t understand how to implement this library
Thanks in advanced