Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(uuidv7): add support for extracting timestamps #38

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

t3hmrman
Copy link
Member

@t3hmrman t3hmrman commented Dec 7, 2023

Up until now extracting timestampts were not available for uuidv7 UUIDs generated with pg_idkit.

This commit add support for extrating timestampts from UUIDv7 values, and also refactors to align on support from the uuid crate's uuidv7 implementation, rather than using uuidv7.

Up until now extracting timestampts were not available for uuidv7
UUIDs generated with pg_idkit.

This commit add support for extrating timestampts from UUIDv7 values,
and also refactors to align on support from the `uuid` crate's uuidv7
implementation, rather than using `uuidv7`.

Signed-off-by: vados <[email protected]>
@t3hmrman t3hmrman force-pushed the feat/uuidv7/add-timestamp-extraction branch from f479557 to 9e52321 Compare December 7, 2023 06:24
@t3hmrman t3hmrman merged commit 1fa1f90 into main Dec 7, 2023
1 check passed
@t3hmrman t3hmrman deleted the feat/uuidv7/add-timestamp-extraction branch December 7, 2023 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant