time_saved value in document


#1

Hi

When creating a new document via an android app created with xamarin I noticed that a time_saved value gets added to the document:

My app shows messages in a recycler view with a date stamp of when the message was sent so i would like to know if it is possible to interact with the time_saved value instead of performing time handling within the app? My reason is that i dont want to rely on the client for times due to users being able to alter their devices time settings.


#2

Nope. That property is only for internal use, mostly for tracking write latency for performance metrics. It might go away in future versions, and it’s not accessible.

i dont want to rely on the client for times due to users being able to alter their devices time settings.

Yes, but the time the revision was added to the server is problematic too because it might be arbitrarily long after the user created the revision, if the device was offline or there were network problems pushing to the server.