Accessing history timestamp
Opened this issue · 4 comments
lightsprint09 commented
As far as I know, every change encodes a wall clock time stamp. Is this already exposed?
heckj commented
That's not exposed from the core library (as of version 0.5.7)
alexjg commented
It is possible to set the timestamp on a Transaction
in the core library, but we are not using transactions here, we are using AutoCommit
. I think what we should do is to add a configuration option to AutoCommit
to allow you to annotate changes with a timestamp etc. (there are other metadata features we will want soon I think). Once we have that API we can expose the same API in Swift.
alexjg commented
I've added an issue in the automerge
repo here: automerge/automerge#847