We have Timestamp type data in our Firestore and want to update them from query.
I created a JsonSchemaForm which trigger a query with action type "Update document". I could update string, number, boolean, etc properties but could not update properties with firebase.firestore.Timestamp type. When I update properties, the type of properties changed to string like 2020-05-03T06:22:09.417Z.
Is there any way to update timestamp properties with keeping their type ?
Hey @nakamura! To do this currently you’ll need to convert the property to a timestamp explicitly via {{ moment(timestamp_here) }}. We’re working on supporting it out of the box this week!
@justin Thank you very much ! I have been able to convert the property to a timestamp at "Value" of the update document query like following screenshot.