Skip to content

joladev/latch

Back Introduce TID.to_unix and TID.to_datetime

Commit details

Introduce TID.to_unix and TID.to_datetime

Description

TIDs have a timestmap component, these functions can be used to extract it. You can't really rely on it as a created at timestamp when an rkey is a tid, but sometimes it's convenient to have even an unreliable indication of creation time.

Metadata

Author
Johanna Larsson johanna.a.m.larsson@gmail.com
Committed
Commit

Contributors