ulid icon indicating copy to clipboard operation
ulid copied to clipboard

Add support for decoding timestamp component from ULID string

Open joshbeckman opened this issue 2 years ago • 4 comments

This adds a module for decoding the timestamp component out of a ULID string into a Time instance. This is useful if you have a set of ULIDs and want to do timeseries math based on their encoded data.

joshbeckman avatar Mar 16 '22 21:03 joshbeckman

@rafaelsales any appetite for this feature?

joshbeckman avatar Mar 30 '22 13:03 joshbeckman

This is awesome!

rafaelsales avatar Mar 31 '22 14:03 rafaelsales

Any reservations about merging?

joshbeckman avatar Apr 08 '22 20:04 joshbeckman

@rafaelsales I don't have merge ability on this if you want to merge it...

joshbeckman avatar Apr 20 '22 15:04 joshbeckman

FWIW, I'd also love to see this functionality added to this gem @rafaelsales . Hoping it will be merged at some point 🙏

phillipspc avatar Nov 30 '22 21:11 phillipspc

Thanks @rafaelsales - are you able to re-open this PR or should I make a new one?

joshbeckman avatar Mar 06 '23 14:03 joshbeckman

@andjosh github doesn't allow reopening a merged PR, so we need a new one. Thanks!!

rafaelsales avatar Mar 06 '23 15:03 rafaelsales