By the way, I can see the timestamp when I get the list of documents inside a table, and I'm also able to update the timestamp using, for example "moment()", but still can't read the timestamp in text inputs components or date/time components, not even in jsonEditor.
Thanks!
This bug still occurs when using a firestore querie's raw mode and not the GUI mode. The date is not returned - instead we get only an object representing the time as above (exactly the same as above). Please advise and help, thanks!
Thank you! I assume that in your GUI option you guys automatically call toDate on dates behind the scenes?
I would recommend explaining this to users somehow or showing something about this in the docs - because I use firestore in nodejs, in a mobile application and also in a web application and I have never encountered the need to do this on dates I receive
This method doesnt work if you try to do it in a transformer - you have to do it in the query itself before it gets to a transformer - which also seems like a bug to me. Something weird..
It is expected that it wouldn't work in a transformer, since you can only put Javascript code there. If you want to handle the Firestore timestamp format in a transformer, you could use new Date or moment: