Parse Firebase Timestamp using rxjs pipe with moment

Parse Firebase Timestamp using rxjs pipe with moment

On many of my firebase functions, I’m using the timestamp provided by Firebase to save when the object was first created with the key “at”.

Let's use as an example the actual code I’m using in my project to manage comments. Our function looks like the following: