Will firebase-admin-node start to return date's as Timestamp from firestore?

此生再无相见时 提交于 2019-12-02 05:33:31

问题


In my team we are using firebase/firestore in an Angular application, powered by firebase functions. It works great!

Currently we are converting our code in the Angular application, because firestore now returns date's as Timestamp (and not js-dates).

Is this something that firebase-admin-node will do as well - or will it stick to js-dates?


回答1:


While we don't have a timeline for you, we are planning to expose Timestamps via the Firebase Admin SDK as well.

I will update this post as we get closer to a new release.

Update: v0.15.2 contains the Timestamp class.



来源:https://stackoverflow.com/questions/50364214/will-firebase-admin-node-start-to-return-dates-as-timestamp-from-firestore

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!