cachapa / firedart

A dart-native implementation of the Firebase Auth and Firestore SDKs
https://pub.dev/packages/firedart
Apache License 2.0
174 stars 62 forks source link

What is equivalent to FieldValue.ServerTimeStamp() ? #80

Closed YogeshLegendkiller closed 9 months ago

YogeshLegendkiller commented 3 years ago

Hi Thanks for fantastic library is there any equivalent to FieldValue.ServerTimeStamp()?

fenchai23 commented 2 years ago

did you find a solution for this?

I am looking for an implementation for TimeStamp.now()

found it, its just DateTime.now()

Nico04 commented 1 year ago

Same here, a equivalent of FieldValue.ServerTimeStamp() would be very nice :)

cachapa commented 1 year ago

Contributions are welcome!

Be the change you want to see in the world 🙂

cachapa commented 9 months ago

It seems Firebase Timestamps are translated to regular DateTime types.

I'm closing this issue unless someone can argue otherwise.