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

Allow passing timestamp to constructor of uuid7 #174

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

daniel347x
Copy link

Without this PR, the only way to instantiate a UUID7 is with the current moment in time. This PR allows passing a timestamp in ms instead.

@mfresonke-work
Copy link

mfresonke-work commented Oct 3, 2024

Yes please! this would be very helpful.

EDIT: I posted some thoughts on how I could improve your concerns @oittaa in the related discussion page

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.

2 participants