Pipe Date Angular "Unable to convert "Timestamp"
You have to call toDate()
to convert a Firebase Timestamp to a Javascript Date object before your pipe, for example:
{{ creationDate.toDate() | date: 'medium' }}
When dealing with timestamp type data in Firestore (that's your fechaCreacion
field in the document shown), the Firestore client libraries will give you a Timestamp type object in response to queries. You need to use this Timestamp to format a date for display in the browser.
Timestamp represents times with nanosecond precision, which involves two integers, which you are seeing on screen. If you want a JavaScript Date object instead, you could use the toDate() method on that Timestamp to convert it, or whatever it is you need to render that on screen.