Will firebase-admin-node start to return date'

2020-04-14 08:07发布

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条回答
手持菜刀,她持情操
2楼-- · 2020-04-14 08:38

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.

查看更多
登录 后发表回答