My Firestore data is structured like this:
Timestamp(seconds=1566840930, nanoseconds=491000000)
Since it's not a valid Unix timestamp, I'm unsure how to display it in a more readable format, like dd.mm.yy.
The component where I fetch the data looks like this:
@Component({
firestore() {
return {
linksArray: db.collection('links')
}
}
})
After fetching the data, I use v-for
to display a list of links.