-
Notifications
You must be signed in to change notification settings - Fork 166
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
ULIDs contains ILOU
will be parsed as weird timestamps
#69
Comments
Interesting. I think the relevant rules are
I think we are not doing the bold parts. |
@tsenart Think we can add those things? |
Thanks for your comment!
Agreed, and I think ignoring them is the desirable spec for actual use-case, rather than strict following original So I have suggested it in ulid/spec#57 🙏 |
Ah, yes, and to just make it explicit, you wrote
which is a great point 👍 Will wait for the outcome of that other PR... |
Hi! I'm writing a new Ruby library for handling ULID in these days.
Now I’m testing other implementations examples in kachick/ruby-ulid#53.
And I have found weird examples in original repository as ulid/javascript#85.
And then checked the parser of this library, because I'm using this in a Go project, it is so useful! 😄
Using this command line tool as below, the version is https://github.com/oklog/ulid/tree/e7ac4de44d238ff4707cc84b9c98ae471f31e2d1
In my understanding,
Crockford's base32
does not containL
I
O
for the encoded product. So I think ULID can handle them as invalid values 🤔 ref: ulid/spec#38, kachick/ruby-ulid#57The text was updated successfully, but these errors were encountered: